From 2d5bb7c51b7fff4b347ce08354a986eb4944670f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Aug 2012 13:48:09 +1000 Subject: [PATCH] APM: added RSSI in raw message too --- ArduPlane/GCS_Mavlink.pde | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index dddd6a5547..038999e2cf 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -306,7 +306,6 @@ static void NOINLINE send_servo_out(mavlink_channel_t chan) static void NOINLINE send_radio_in(mavlink_channel_t chan) { - uint8_t rssi = 1; mavlink_msg_rc_channels_raw_send( chan, millis(), @@ -319,7 +318,7 @@ static void NOINLINE send_radio_in(mavlink_channel_t chan) g.rc_6.radio_in, g.rc_7.radio_in, g.rc_8.radio_in, - rssi); + receiver_rssi()); } static void NOINLINE send_radio_out(mavlink_channel_t chan)