AP_Generator: Make sensor unhealthy msg consistent with other sensors

This commit is contained in:
Gone4Dirt 2021-01-05 13:04:22 +00:00 committed by Peter Barker
parent 6a804c3a09
commit c96ca2483e
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ bool AP_Generator_IE_FuelCell::pre_arm_check(char *failmsg, uint8_t failmsg_len)
{
// Refuse arming if not healthy
if (!healthy()) {
strncpy(failmsg, "Driver not healthy", failmsg_len);
strncpy(failmsg, "Not healthy", failmsg_len);
return false;
}
@ -150,7 +150,7 @@ void AP_Generator_IE_FuelCell::check_status()
if (!healthy() && !_health_warn_sent) {
// Don't spam GCS with unhealthy message
_health_warn_sent = true;
gcs().send_text(MAV_SEVERITY_ALERT, "Generator: Driver not healthy");
gcs().send_text(MAV_SEVERITY_ALERT, "Generator: Not healthy");
} else if (healthy()) {
_health_warn_sent = false;