Browse Source

Sub: elevate leak statustext message to MAV_SEVERITY_CRITICAL

mission-4.1.18
Jacob Walser 8 years ago committed by Andrew Tridgell
parent
commit
cd6ce2b208
  1. 2
      ArduSub/events.cpp

2
ArduSub/events.cpp

@ -144,7 +144,7 @@ void Sub::set_leak_status(bool status) { @@ -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…
Cancel
Save