Browse Source

AP_HAL: require HALs implement rcin.protocol() to return RC protocol

mission-4.1.18
Peter Barker 6 years ago committed by Peter Barker
parent
commit
92111eea61
  1. 5
      libraries/AP_HAL/RCInput.h

5
libraries/AP_HAL/RCInput.h

@ -34,7 +34,10 @@ public: @@ -34,7 +34,10 @@ public:
/* get receiver based RSSI if available. -1 for unknown, 0 for no link, 255 for maximum link */
virtual int16_t get_rssi(void) { return -1; }
/* Return string describing method RC input protocol */
virtual const char *protocol() const = 0;
/**
* Overrides: these are really grody and don't belong here but we need
* them at the moment to make the port work.

Loading…
Cancel
Save