mirror of https://github.com/ArduPilot/ardupilot
Sub: elevate leak statustext message to MAV_SEVERITY_CRITICAL
This commit is contained in:
parent
f9622f7205
commit
cd6ce2b208
|
@ -144,7 +144,7 @@ void Sub::set_leak_status(bool status) {
|
|||
// Always send a warning every 5 seconds
|
||||
if(tnow > failsafe.last_leak_warn_ms + 5000) {
|
||||
failsafe.last_leak_warn_ms = tnow;
|
||||
gcs_send_text(MAV_SEVERITY_WARNING, "Leak Detected");
|
||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Leak Detected");
|
||||
}
|
||||
|
||||
// Do nothing if we have already triggered the failsafe action, or if the motors are disarmed
|
||||
|
|
Loading…
Reference in New Issue