mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
RC_Output.h: add gpio methods
This commit is contained in:
parent
d82ba1b7a3
commit
018ab14814
@ -336,6 +336,16 @@ public:
|
||||
|
||||
virtual void timer_info(ExpandingString &str) {}
|
||||
|
||||
/*
|
||||
Can this driver handle gpio as well as RC
|
||||
*/
|
||||
virtual bool supports_gpio() { return false; };
|
||||
|
||||
/*
|
||||
Writes gpio state to a channel
|
||||
*/
|
||||
virtual void write_gpio(uint8_t chan, bool active) {};
|
||||
|
||||
/*
|
||||
* calculate the prescaler required to achieve the desire bitrate
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user