mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: require HALs implement rcin.protocol() to return RC protocol
This commit is contained in:
parent
7bca6d5ec0
commit
92111eea61
@ -35,6 +35,9 @@ 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…
Reference in New Issue
Block a user