1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

fix idleMinMotorRps scale

This commit is contained in:
Thorsten Laux 2019-08-04 19:01:34 +02:00
parent 5767102889
commit d6535d9b38

View file

@ -357,7 +357,7 @@ void mixerInit(mixerMode_e mixerMode)
}
#endif
#ifdef USE_DYN_IDLE
idleMinMotorRps = currentPidProfile->idle_min_rpm * 0.01f * 60.0f;
idleMinMotorRps = currentPidProfile->idle_min_rpm * 100.0f / 60.0f;
idleMaxIncrease = currentPidProfile->idle_max_increase * 0.001f;
idleThrottleOffset = motorConfig()->digitalIdleOffsetValue * 0.0001f;
idleP = currentPidProfile->idle_p * 0.0001f;