auto-sync
This commit is contained in:
parent
c1509e9dd4
commit
822ff2c8a1
|
@ -93,7 +93,11 @@ angle_t getAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
|||
if (isCrankingR(rpm)) {
|
||||
angle = engineConfiguration->crankingTimingAngle;
|
||||
} else {
|
||||
angle = getRunningAdvance(rpm, engineLoad PASS_ENGINE_PARAMETER);
|
||||
if (CONFIG(timingMode) == TM_DYNAMIC) {
|
||||
angle = getRunningAdvance(rpm, engineLoad PASS_ENGINE_PARAMETER);
|
||||
} else {
|
||||
angle = engineConfiguration->fixedTiming;
|
||||
}
|
||||
}
|
||||
angle -= engineConfiguration->ignitionOffset;
|
||||
fixAngle(angle);
|
||||
|
|
Loading…
Reference in New Issue