Injection Offset for skipped wheel triggers fix #4536

This commit is contained in:
Andrey 2022-09-05 01:31:03 -04:00
parent 79139e30fc
commit 6fbafd7818
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ Release template (copy/paste this for new release):
- Lua canRxAdd bus parameter handling #4467
- STM32Bootloader driver install from console requests elevation #4313
- VQ trigger gaps improvement #4469
- Injection Offset for skipped wheel triggers #4536
### Removed

View File

@ -82,7 +82,7 @@ expected<float> InjectionEvent::computeInjectionAngle(int cylinderIndex) const {
efiAssert(CUSTOM_ERR_ASSERT, !cisnan(openingAngle), "findAngle#3", false);
assertAngleRange(openingAngle, "findAngle#a33", CUSTOM_ERR_6544);
wrapAngle2(openingAngle, "addFuel#2", CUSTOM_ERR_6555, getEngineCycle(engine->triggerCentral.triggerShape.getWheelOperationMode()));
wrapAngle2(openingAngle, "addFuel#2", CUSTOM_ERR_6555, getEngineCycle(engine->getOperationMode()));
#if EFI_UNIT_TEST
printf("registerInjectionEvent openingAngle=%.2f inj %d\r\n", openingAngle, cylinderNumber);