mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Winch: Make healthy strings common
This commit is contained in:
parent
b585d61809
commit
fa0f089fe1
@ -326,7 +326,7 @@ void AP_Winch_Daiwa::update_user()
|
|||||||
const bool now_healthy = healthy();
|
const bool now_healthy = healthy();
|
||||||
if (user_update.healthy != now_healthy) {
|
if (user_update.healthy != now_healthy) {
|
||||||
user_update.healthy = now_healthy;
|
user_update.healthy = now_healthy;
|
||||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "%s %s", send_text_prefix, now_healthy ? "healthy" : "not healthy");
|
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "%s %shealthy", send_text_prefix, now_healthy ? "" : "not ");
|
||||||
update_sent = true;
|
update_sent = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user