GM/Daewoo 60/2/2/2 Trigger Pattern #2264

This commit is contained in:
rusefillc 2021-02-02 09:50:20 -05:00
parent 7eb5816c33
commit 8ff61e9e68
2 changed files with 19 additions and 0 deletions

View File

@ -7,6 +7,22 @@
#include "trigger_gm.h"
/**
* https://github.com/rusefi/rusefi/issues/2264
* GM/Daewoo Distributor on the F8CV
*/
void configureGm60_2_2_2(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CAM_SENSOR);
s->isSynchronizationNeeded = false;
int offset = 3;
float m = CRANK_MODE_MULTIPLIER;
s->addEventAngle(m * (360 - 10), T_PRIMARY, TV_RISE);
s->addEventAngle(m * (360), T_PRIMARY, TV_FALL);
}
void configureGmTriggerWaveform(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CRANK_SENSOR);

View File

@ -541,6 +541,9 @@ void TriggerWaveform::initializeTriggerWaveform(Logging *logger, operation_mode_
break;
case TT_GM_60_2_2_2:
configureGm60_2_2_2(this);
break;
case TT_GM_7X:
configureGmTriggerWaveform(this);
break;