AP_Winch: Make healthy strings common

This commit is contained in:
muramura 2023-10-09 15:29:39 +09:00 committed by Randy Mackay
parent b585d61809
commit fa0f089fe1
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ void AP_Winch_Daiwa::update_user()
const bool now_healthy = healthy();
if (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;
}