mirror of https://github.com/ArduPilot/ardupilot
AP_Frsky_Telem: updated sensor_status messages according to what is found in Mission Planner
added "NO RC Receiver" and "Bad Logging"
This commit is contained in:
parent
b8d53e1c58
commit
9e0cfc81ea
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue