diff --git a/src/main/mw.c b/src/main/mw.c index 8fd4d0ded8..0d7ffcd490 100755 --- a/src/main/mw.c +++ b/src/main/mw.c @@ -536,12 +536,14 @@ void loop(void) loopTime = currentTime + masterConfig.looptime; computeIMU(¤tProfile.accelerometerTrims, masterConfig.mixerConfiguration); - annexCode(); - // Measure loop rate just afer reading the sensors + + // Measure loop rate just after reading the sensors currentTime = micros(); cycleTime = (int32_t)(currentTime - previousTime); previousTime = currentTime; + annexCode(); + updateAutotuneState(); #ifdef MAG