ArduPlane: attempt to send GCS a message when the GCS heartbeat is not detected.

This commit is contained in:
Michael Day 2014-07-15 12:25:31 -07:00 committed by Andrew Tridgell
parent 50f9b4d4bb
commit 3b62592b26

View File

@ -87,6 +87,9 @@ static void failsafe_long_on_event(enum failsafe_state fstype)
default:
break;
}
if (fstype == FAILSAFE_GCS) {
gcs_send_text_P(SEVERITY_HIGH, PSTR("No GCS heartbeat."));
}
gcs_send_text_fmt(PSTR("flight mode = %u"), (unsigned)control_mode);
}