diff --git a/src/open9x.cpp b/src/open9x.cpp index a5c097431..69db36e5b 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -251,14 +251,14 @@ int16_t Expo::expo(int16_t x) void applyExpos(int16_t *anas, uint8_t phase) { - static int16_t anas2[4]; // values before expo, to ensure same expo base when multiple expo lines are used + static int16_t anas2[NUM_STICKS]; // values before expo, to ensure same expo base when multiple expo lines are used memcpy(anas2, anas, sizeof(anas2)); if (phase == 255) phase = getFlightPhase(); int8_t cur_chn = -1; - for (uint8_t i=0; i