mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
HAL_SITL: implement valid_pin()
This commit is contained in:
parent
d302d3c90a
commit
9b78fa7fb8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user