mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_HAL: added RSSI interface for RCInput
This commit is contained in:
parent
64f722876f
commit
94b5a9c6f0
@ -32,6 +32,9 @@ public:
|
||||
/* Read an array of channels, return the valid count */
|
||||
virtual uint8_t read(uint16_t* periods, uint8_t len) = 0;
|
||||
|
||||
/* 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; }
|
||||
|
||||
/**
|
||||
* 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