From 9e0cfc81ea3dc681fb7eb33e48f0fda3637b1d2f Mon Sep 17 00:00:00 2001 From: floaledm Date: Wed, 21 Sep 2016 17:10:42 -0500 Subject: [PATCH] AP_Frsky_Telem: updated sensor_status messages according to what is found in Mission Planner added "NO RC Receiver" and "Bad Logging" --- libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp b/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp index cd85ef3a3c..6c668785f6 100644 --- a/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp +++ b/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp @@ -549,6 +549,12 @@ void AP_Frsky_Telem::check_sensor_status_flags(void) } else if ((_ap.sensor_status_flags & MAV_SYS_STATUS_AHRS) > 0) { queue_message(MAV_SEVERITY_CRITICAL, "Bad AHRS"); check_sensor_status_timer = now; + } else if ((_ap.sensor_status_flags & MAV_SYS_STATUS_SENSOR_RC_RECEIVER) > 0) { + queue_message(MAV_SEVERITY_CRITICAL, "NO RC Receiver"); + check_sensor_status_timer = now; + } else if ((_ap.sensor_status_flags & MAV_SYS_STATUS_LOGGING) > 0) { + queue_message(MAV_SEVERITY_CRITICAL, "Bad Logging"); + check_sensor_status_timer = now; } } }