Moved mixer profile initialisation to after pid initialisation.

This commit is contained in:
mikeller 2020-10-11 13:02:32 +13:00
parent 9e6b65680e
commit e4b3a1f2e5
2 changed files with 2 additions and 2 deletions

View File

@ -737,6 +737,8 @@ void init(void)
pidInit(currentPidProfile);
mixerInitProfile();
#ifdef USE_PID_AUDIO
pidAudioInit();
#endif

View File

@ -333,8 +333,6 @@ void mixerInit(mixerMode_e mixerMode)
#ifdef USE_DYN_IDLE
mixerRuntime.idleThrottleOffset = motorConfig()->digitalIdleOffsetValue * 0.0001f;
#endif
mixerInitProfile();
}
#ifdef USE_LAUNCH_CONTROL