ArduCopter: fixed small bug re arming_counter for TOY mode

This commit is contained in:
rmackay9 2012-08-18 13:21:41 +09:00
parent e52e22bcab
commit 0dc3b23b59
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ static void arm_motors()
return; 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; arming_counter = 0;
return; return;
} }