Skip to content

Commit

Permalink
AP_Winch: Make healthy strings common
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and rmackay9 committed Oct 9, 2023
1 parent b585d61 commit fa0f089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Winch/AP_Winch_Daiwa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fa0f089

Please sign in to comment.