auto-sync
This commit is contained in:
parent
ddb2e75fb8
commit
8f3915e4eb
|
@ -250,7 +250,12 @@ void TriggerShape::addEvent(float angle, trigger_wheel_e const waveIndex, trigge
|
||||||
*/
|
*/
|
||||||
angle /= engineCycle;
|
angle /= engineCycle;
|
||||||
|
|
||||||
|
#if EFI_PROD_CODE
|
||||||
|
// todo: PASS_ENGINE?
|
||||||
|
if (!engineConfiguration->useOnlyFrontForTrigger || stateParam == TV_HIGH) {
|
||||||
expectedEventCount[waveIndex]++;
|
expectedEventCount[waveIndex]++;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
efiAssertVoid(angle > 0, "angle should be positive");
|
efiAssertVoid(angle > 0, "angle should be positive");
|
||||||
if (size > 0) {
|
if (size > 0) {
|
||||||
|
|
Loading…
Reference in New Issue