mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: return false when arming fails
This commit is contained in:
parent
683f3a55c4
commit
ddb8796d2c
@ -205,8 +205,7 @@ static bool init_arm_motors()
|
||||
motors.output_min();
|
||||
failsafe_enable();
|
||||
AP_Notify::flags.armed = false;
|
||||
AP_Notify::flags.arming_failed = false;
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
#if SPRAYER == ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user