Injector DutyCycle jumps to 0 when duty goes beyond 127.5% fix #5559

This commit is contained in:
rusefillc 2023-09-10 13:45:40 -04:00
parent e74edbe365
commit aa00a9eccb
1 changed files with 1 additions and 1 deletions

View File

@ -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