1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
betaflight/src
Bruce Luckcuck 3dae764b0e Capture and use crash flip if set initially when arming is delayed due to beacon
Previously if arming was delayed due to DSHOT beacon then the arming type (normal or crash-flip) would be captured *after* the delay. This change captures the state on entering the delay which more accurately represents the pilot's intent.

For example, the pilot may have crash-flip on a momentary switch that's initially set when the arming switch is enabled. Previously if the pilot didn't hold the momentary switch through the entire delay the quad would arm in normal mode. This change uses the state when the arming switch first enables so even if the momentary crash-flip switch is released the quad will still arm in crash-flip mode.
2018-08-06 15:41:05 -04:00
..
main Capture and use crash flip if set initially when arming is delayed due to beacon 2018-08-06 15:41:05 -04:00
test Fixed tests. 2018-08-06 08:37:26 +12:00
utils Allow target without IO pins 2017-05-15 20:11:32 +02:00