mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: fixed small bug re arming_counter for TOY mode
This commit is contained in:
parent
e52e22bcab
commit
0dc3b23b59
|
@ -17,7 +17,7 @@ static void arm_motors()
|
|||
return;
|
||||
}
|
||||
|
||||
if ((control_mode > ACRO) && ((control_mode != TOY_A) || (control_mode != TOY_M))){
|
||||
if ((control_mode > ACRO) && ((control_mode != TOY_A) && (control_mode != TOY_M))){
|
||||
arming_counter = 0;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue