1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

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); pidInit(currentPidProfile);
mixerInitProfile();
#ifdef USE_PID_AUDIO #ifdef USE_PID_AUDIO
pidAudioInit(); pidAudioInit();
#endif #endif

View file

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