mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Plane: fixed disarmed PWM output
This commit is contained in:
parent
e8b8cc1a5d
commit
776b999f43
@ -1259,7 +1259,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
}
|
||||
} else if (packet.param1 == 0.0f) {
|
||||
if (arming.disarm()) {
|
||||
if (arming.arming_required() != AP_Arming::YES_ZERO_PWM) {
|
||||
if (arming.arming_required() == AP_Arming::YES_ZERO_PWM) {
|
||||
channel_throttle->disable_out();
|
||||
}
|
||||
// reset the mission on disarm
|
||||
|
Loading…
Reference in New Issue
Block a user