Injector DutyCycle jumps to 0 when duty goes beyond 127.5% fix #5559
This commit is contained in:
parent
e74edbe365
commit
aa00a9eccb
|
@ -639,7 +639,7 @@ DcHardware *getdcHardware();
|
|||
// 68
|
||||
// 140
|
||||
#if EFI_ENGINE_CONTROL
|
||||
tsOutputChannels->injectorDutyCycle = getInjectorDutyCycle(rpm);
|
||||
tsOutputChannels->injectorDutyCycle = minF(/*let's avoid scaled "uint8_t, 2" overflow*/127, getInjectorDutyCycle(rpm));
|
||||
#endif
|
||||
|
||||
// 224
|
||||
|
|
Loading…
Reference in New Issue