Moved mixer profile initialisation to after pid initialisation.
This commit is contained in:
parent
9e6b65680e
commit
e4b3a1f2e5
|
@ -737,6 +737,8 @@ void init(void)
|
|||
|
||||
pidInit(currentPidProfile);
|
||||
|
||||
mixerInitProfile();
|
||||
|
||||
#ifdef USE_PID_AUDIO
|
||||
pidAudioInit();
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue