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:
parent
5767102889
commit
d6535d9b38
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ void mixerInit(mixerMode_e mixerMode)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_DYN_IDLE
|
#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;
|
idleMaxIncrease = currentPidProfile->idle_max_increase * 0.001f;
|
||||||
idleThrottleOffset = motorConfig()->digitalIdleOffsetValue * 0.0001f;
|
idleThrottleOffset = motorConfig()->digitalIdleOffsetValue * 0.0001f;
|
||||||
idleP = currentPidProfile->idle_p * 0.0001f;
|
idleP = currentPidProfile->idle_p * 0.0001f;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue