Skip to content

Commit

Permalink
AP_Frsky_Telem: updated sensor_status messages according to what is f…
Browse files Browse the repository at this point in the history
…ound in Mission Planner

added "NO RC Receiver" and "Bad Logging"
  • Loading branch information
floaledm authored and magicrub committed Sep 21, 2016
1 parent b8d53e1 commit 9e0cfc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 9e0cfc8

Please sign in to comment.