From d42a3ee971cc0d01712f058d774ea36fcff4c3ba Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Mon, 23 Oct 2023 11:05:17 -0700 Subject: [PATCH] Copter: Support not sending a status text on state change --- ArduCopter/AP_Arming.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/AP_Arming.cpp b/ArduCopter/AP_Arming.cpp index 1bdbc630bc..d2e4838f8c 100644 --- a/ArduCopter/AP_Arming.cpp +++ b/ArduCopter/AP_Arming.cpp @@ -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();