Copter: integrate Notify arming failure when using yaw sticks
This commit is contained in:
parent
f0fc0397d3
commit
608b8b0a2c
@ -61,6 +61,7 @@ static void arm_motors_check()
|
||||
}else{
|
||||
// reset arming counter if pre-arm checks fail
|
||||
arming_counter = 0;
|
||||
AP_Notify::flags.arming_failed = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,6 +85,7 @@ static void arm_motors_check()
|
||||
|
||||
// Yaw is centered so reset arming counter
|
||||
}else{
|
||||
AP_Notify::flags.arming_failed = false;
|
||||
arming_counter = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user