mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Sub: Support not sending a status text on state change
This commit is contained in:
parent
28d4603a46
commit
9e07fbd949
@ -105,7 +105,7 @@ bool AP_Arming_Sub::arm(AP_Arming::Method method, bool do_arming_checks)
|
||||
}
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Arming motors");
|
||||
send_arm_disarm_statustext("Arming motors");
|
||||
#endif
|
||||
|
||||
AP_AHRS &ahrs = AP::ahrs();
|
||||
@ -161,7 +161,7 @@ bool AP_Arming_Sub::disarm(const AP_Arming::Method method, bool do_disarm_checks
|
||||
}
|
||||
|
||||
#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();
|
||||
|
Loading…
Reference in New Issue
Block a user