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:
parent
9e6b65680e
commit
e4b3a1f2e5
2 changed files with 2 additions and 2 deletions
|
@ -737,6 +737,8 @@ void init(void)
|
||||||
|
|
||||||
pidInit(currentPidProfile);
|
pidInit(currentPidProfile);
|
||||||
|
|
||||||
|
mixerInitProfile();
|
||||||
|
|
||||||
#ifdef USE_PID_AUDIO
|
#ifdef USE_PID_AUDIO
|
||||||
pidAudioInit();
|
pidAudioInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue