Reordered arming disabled flags to give runaway takeoff a higher priority
commit4270c658a343726e049d3ded3fcf8a2bf133ee89
authorBruce Luckcuck <github@etracer.net>
Tue, 20 Feb 2018 01:40:35 +0000 (19 20:40 -0500)
committerBruce Luckcuck <github@etracer.net>
Tue, 20 Feb 2018 11:54:02 +0000 (20 06:54 -0500)
tree67de9d64dd575fcfa439fed5a0824372c4c229c3
parent7c3bb497598c0d5e592f5589ef26d7e93b559ff6
Reordered arming disabled flags to give runaway takeoff a higher priority

Previously the ARMING_DISABLED_RUNAWAY_TAKEOFF reason would be overridden by ARMING_DISABLED_THROTTLE which prevented the indication that the disarming was casued by a runaway event.

Also fixed a problem where the disarm beep pattern would override the arming disabled beep codes when runaway takeoff triggered an auto-disarm.
src/main/fc/fc_core.c
src/main/fc/runtime_config.c
src/main/fc/runtime_config.h