Blimp: Support not sending a status text on state change

This commit is contained in:
Michael du Breuil 2023-10-23 11:05:41 -07:00 committed by WickedShell
parent 5e44b2ea52
commit bed58d9952
1 changed files with 2 additions and 3 deletions

View File

@ -312,7 +312,7 @@ bool AP_Arming_Blimp::arm(const AP_Arming::Method method, const bool do_arming_c
AP::notify().update();
}
gcs().send_text(MAV_SEVERITY_INFO, "Arming motors"); //MIR kept in - usually only in SITL
send_arm_disarm_statustext("Arming motors"); //MIR kept in - usually only in SITL
auto &ahrs = AP::ahrs();
@ -371,8 +371,7 @@ bool AP_Arming_Blimp::disarm(const AP_Arming::Method method, bool do_disarm_chec
return false;
}
gcs().send_text(MAV_SEVERITY_INFO, "Disarming motors"); //MIR keeping in - usually only in SITL
send_arm_disarm_statustext("Disarming motors"); //MIR keeping in - usually only in SITL
auto &ahrs = AP::ahrs();