AP_HAL: add Link Quality reporting to RC protocols

This commit is contained in:
Hwurzburg 2021-07-12 14:03:44 -05:00 committed by Andrew Tridgell
parent 0f2f6ccc80
commit d806d8a26d
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public:
/* get receiver based RSSI if available. -1 for unknown, 0 for no link, 255 for maximum link */ /* 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; } virtual int16_t get_rssi(void) { return -1; }
virtual int16_t get_rx_link_quality(void) { return -1; }
/* Return string describing method RC input protocol */ /* Return string describing method RC input protocol */
virtual const char *protocol() const = 0; virtual const char *protocol() const = 0;