Copter: Support not sending a status text on state change

This commit is contained in:
Michael du Breuil 2023-10-23 11:05:17 -07:00 committed by WickedShell
parent 9e07fbd949
commit d42a3ee971
1 changed files with 2 additions and 2 deletions

View File

@ -708,7 +708,7 @@ bool AP_Arming_Copter::arm(const AP_Arming::Method method, const bool do_arming_
}
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
gcs().send_text(MAV_SEVERITY_INFO, "Arming motors");
send_arm_disarm_statustext("Arming motors");
#endif
// Remember Orientation
@ -800,7 +800,7 @@ bool AP_Arming_Copter::disarm(const AP_Arming::Method method, bool do_disarm_che
}
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
gcs().send_text(MAV_SEVERITY_INFO, "Disarming motors");
send_arm_disarm_statustext("Disarming motors");
#endif
auto &ahrs = AP::ahrs();