mirror of https://github.com/rusefi/rusefi-1.git
GM/Daewoo 60/2/2/2 Trigger Pattern #2264
This commit is contained in:
parent
7eb5816c33
commit
8ff61e9e68
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue