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

Allow inflight adjustments for floating-point based PID controllers.

This commit is contained in:
Dominic Clifton 2015-01-30 20:54:34 +01:00
parent e33fd411c5
commit f77a762b48
12 changed files with 295 additions and 34 deletions

View file

@ -207,7 +207,10 @@ typedef struct adjustmentState_s {
uint32_t timeoutAt;
} adjustmentState_t;
#ifndef MAX_SIMULTANEOUS_ADJUSTMENT_COUNT
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 4 // enough for 4 x 3position switches / 4 aux channel
#endif
#define MAX_ADJUSTMENT_RANGE_COUNT 12 // enough for 2 * 6pos switches.