This commit is contained in:
rusefi 2018-12-25 17:31:21 -05:00
parent 4f416453b1
commit 76b2dd9aec
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ angle_t TriggerShape::getAngle(int index) const {
void TriggerShape::addEvent3(angle_t angle, trigger_wheel_e const channelIndex, trigger_value_e const stateParam, float filterLeft, float filterRight DECLARE_ENGINE_PARAMETER_SUFFIX) {
if (angle > filterLeft && angle < filterRight)
addEvent2(angle, channelIndex, stateParam PASS_ENGINE_PARAMETER_SUFFIX);
addEvent(engineConfiguration->useOnlyRisingEdgeForTrigger, angle / getEngineCycle(operationMode), channelIndex, stateParam);
}
operation_mode_e TriggerShape::getOperationMode() {