Plane: improve user friendliness of throttle fs msg

This commit is contained in:
Michael du Breuil 2016-05-10 22:18:28 -07:00 committed by Tom Pittenger
parent bb648280ae
commit 7142bacfaa
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ void Plane::control_failsafe(uint16_t pwm)
// throttle has dropped below the mark
failsafe.ch3_counter++;
if (failsafe.ch3_counter == 10) {
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "MSG FS ON %u", (unsigned)pwm);
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Throttle failsafe on %u", (unsigned)pwm);
failsafe.ch3_failsafe = true;
AP_Notify::flags.failsafe_radio = true;
}
@ -269,7 +269,7 @@ void Plane::control_failsafe(uint16_t pwm)
failsafe.ch3_counter = 3;
}
if (failsafe.ch3_counter == 1) {
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "MSG FS OFF %u", (unsigned)pwm);
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Throttle failsafe off %u", (unsigned)pwm);
} else if(failsafe.ch3_counter == 0) {
failsafe.ch3_failsafe = false;
AP_Notify::flags.failsafe_radio = false;