RAM efficiency of VR crank trigger shapes #2182
This commit is contained in:
parent
428418f879
commit
b1499d8a7f
|
@ -45,7 +45,9 @@ void configureTriTach(TriggerWaveform * s) {
|
|||
|
||||
|
||||
addSkippedToothTriggerEvents(T_SECONDARY, s, totalTeethCount, /* skipped */ 0, toothWidth, offset, engineCycle,
|
||||
1.5 * FOUR_STROKE_ENGINE_CYCLE / 135, NO_RIGHT_FILTER);
|
||||
//1.5 * FOUR_STROKE_ENGINE_CYCLE / 135,
|
||||
700,
|
||||
NO_RIGHT_FILTER);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -663,6 +663,9 @@ void TriggerWaveform::initializeTriggerWaveform(Logging *logger, operation_mode_
|
|||
break;
|
||||
|
||||
case TT_TRI_TACH:
|
||||
configureTriTach(this);
|
||||
break;
|
||||
|
||||
case TT_GM_LS_24:
|
||||
initGmLS24(this);
|
||||
break;
|
||||
|
|
|
@ -129,7 +129,9 @@ void TriggerStimulatorHelper::assertSyncPositionAndSetDutyCycle(
|
|||
}
|
||||
int revolutionCounter = state.getTotalRevolutionCounter();
|
||||
if (revolutionCounter != TEST_REVOLUTIONS + 1) {
|
||||
warning(CUSTOM_OBD_TRIGGER_WAVEFORM, "sync failed/wrong gap parameters trigger=%s revolutionCounter=%d", getTrigger_type_e(triggerConfiguration.TriggerType), revolutionCounter);
|
||||
warning(CUSTOM_OBD_TRIGGER_WAVEFORM, "sync failed/wrong gap parameters trigger=%s revolutionCounter=%d",
|
||||
getTrigger_type_e(triggerConfiguration.TriggerType),
|
||||
revolutionCounter);
|
||||
shape.setShapeDefinitionError(true);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue