mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Rover: Support not sending a status text on state change
This commit is contained in:
committed by
WickedShell
parent
d42a3ee971
commit
5e44b2ea52
+2
-2
@@ -130,7 +130,7 @@ bool AP_Arming_Rover::arm(AP_Arming::Method method, const bool do_arming_checks)
|
||||
|
||||
update_soft_armed();
|
||||
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Throttle armed");
|
||||
send_arm_disarm_statustext("Throttle armed");
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -150,7 +150,7 @@ bool AP_Arming_Rover::disarm(const AP_Arming::Method method, bool do_disarm_chec
|
||||
|
||||
update_soft_armed();
|
||||
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Throttle disarmed");
|
||||
send_arm_disarm_statustext("Throttle disarmed");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user