diff --git a/libraries/AP_HAL/RCOutput.h b/libraries/AP_HAL/RCOutput.h index 70f3691323..d0875d23c2 100644 --- a/libraries/AP_HAL/RCOutput.h +++ b/libraries/AP_HAL/RCOutput.h @@ -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 */