1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Fix ANGLE mode and HORIZON mode resetting the errorAngle when they are

both attempted to be enabled at the same time.  Angle mode now takes
precedence over horizon mode.

Fix using aux settings that are not applicable to in-use aux channels -
prior to this it was possible to configure aux4 and then switch to
RX_SERIAL using a 7 channel system (3 aux channels) and aux4 would still
have been processed.
This commit is contained in:
Dominic Clifton 2014-08-26 21:28:23 +01:00
parent d15b56f14e
commit 1c6ea1d397
9 changed files with 97 additions and 68 deletions

View file

@ -23,6 +23,10 @@
#include "drivers/system.h"
#include "flight/failsafe.h"
#include "sensors/sensors.h"
#include "rx/rx.h"
#include "io/rc_controls.h"
#include "config/runtime_config.h"
#include "config/config.h"