batteryCheck: refine low battery reporting sevirity

To make sure QGC also shows a box and reads out for "low battery"
and make events and mavlink_log reports consistent.

Low - Critical
Critical - Critical
Emergency - Emergency
This commit is contained in:
Matthias Grob
2025-05-21 14:40:46 +02:00
parent fa168c4d4f
commit a9f7f00844
2 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -292,10 +292,9 @@ void FailsafeBase::notifyUser(uint8_t user_intended_mode, Action action, Action
if (action != Action::Warn) {
mavlink_log_critical(&_mavlink_log_pub, "Failsafe activated\t");
};
}
}
#endif /* EMSCRIPTEN_BUILD */
}