From d806d8a26dc9e8a509ae6d302dc14c0163b4b1b1 Mon Sep 17 00:00:00 2001 From: Hwurzburg Date: Mon, 12 Jul 2021 14:03:44 -0500 Subject: [PATCH] AP_HAL: add Link Quality reporting to RC protocols --- libraries/AP_HAL/RCInput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/RCInput.h b/libraries/AP_HAL/RCInput.h index b4cd37d436..c28cf6ffaa 100644 --- a/libraries/AP_HAL/RCInput.h +++ b/libraries/AP_HAL/RCInput.h @@ -34,7 +34,7 @@ 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; } - + virtual int16_t get_rx_link_quality(void) { return -1; } /* Return string describing method RC input protocol */ virtual const char *protocol() const = 0;