HAL_SITL: implement valid_pin()

This commit is contained in:
Andrew Tridgell 2021-07-20 14:19:51 +10:00
parent d302d3c90a
commit 9b78fa7fb8

View File

@ -18,6 +18,8 @@ public:
/* return true if USB cable is connected */
bool usb_connected(void) override;
bool valid_pin(uint8_t pin) const override { return pin < 16; }
private:
SITL_State *_sitlState;