mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Torqeedo: error code reporting fix
This commit is contained in:
parent
9fab634f7a
commit
b6d607c2b0
@ -350,7 +350,7 @@ void AP_Torqeedo::report_error_codes()
|
|||||||
if (_display_system_state.flags.temp_warning) {
|
if (_display_system_state.flags.temp_warning) {
|
||||||
gcs().send_text(MAV_SEVERITY_CRITICAL, "%s high temp", msg_prefix);
|
gcs().send_text(MAV_SEVERITY_CRITICAL, "%s high temp", msg_prefix);
|
||||||
}
|
}
|
||||||
if (_display_system_state.flags.temp_warning) {
|
if (_display_system_state.flags.batt_nearly_empty) {
|
||||||
gcs().send_text(MAV_SEVERITY_CRITICAL, "%s batt nearly empty", msg_prefix);
|
gcs().send_text(MAV_SEVERITY_CRITICAL, "%s batt nearly empty", msg_prefix);
|
||||||
}
|
}
|
||||||
if (_display_system_state.master_error_code > 0) {
|
if (_display_system_state.master_error_code > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user