removing artificial limitation

This commit is contained in:
rusefi 2017-03-04 20:50:51 -05:00
parent c2c3ff97ee
commit 69b988c973
1 changed files with 0 additions and 9 deletions

View File

@ -81,15 +81,6 @@ void TriggerShape::calculateTriggerSynchPoint(TriggerState *state DECLARE_ENGINE
frontOnlyIndexes[eventIndex] = frontOnlyIndex;
}
}
int totalExpected = 0;
for (int i = 0;i < PWM_PHASE_MAX_WAVE_PER_PWM;i++) {
totalExpected += expectedEventCount[i];
}
if (totalExpected < 2) {
// todo: there is a good chance this is not an issue at all and we should allow a 2/1 skipped wheel
firmwareError(CUSTOM_ERR_TOO_FEW_EVENTS, "Too few trigger events");
}
}
void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTriggerInput) {