Toyota cam 4-1 can be a plain skipped tooth decoder (#4863)
* this should be RiseOnly * use 4-1 skipped tooth for toyota
This commit is contained in:
parent
48a0c48226
commit
cb97c89588
|
@ -497,7 +497,7 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
|
|||
break;
|
||||
|
||||
case TT_VVT_TOYOTA_4_1:
|
||||
initializeToyota4_1(this);
|
||||
initializeSkippedToothTrigger(this, 4, 1, triggerOperationMode, SyncEdge::RiseOnly);
|
||||
break;
|
||||
|
||||
case TT_VVT_MITSUBISHI_6G75:
|
||||
|
|
|
@ -83,18 +83,3 @@ void initialize2jzGE3_34_simulation_shape(TriggerWaveform *s) {
|
|||
s->shapeWithoutTdc = true;
|
||||
s->isSynchronizationNeeded = false;
|
||||
}
|
||||
|
||||
void initializeToyota4_1(TriggerWaveform *s) {
|
||||
s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::Fall);
|
||||
|
||||
int w = 10;
|
||||
|
||||
s->addEvent360(180 - w, TriggerValue::RISE, TriggerWheel::T_PRIMARY);
|
||||
s->addEvent360(180, TriggerValue::FALL, TriggerWheel::T_PRIMARY);
|
||||
|
||||
s->addEvent360(270 - w, TriggerValue::RISE, TriggerWheel::T_PRIMARY);
|
||||
s->addEvent360(270, TriggerValue::FALL, TriggerWheel::T_PRIMARY);
|
||||
|
||||
s->addEvent360(360 - w, TriggerValue::RISE, TriggerWheel::T_PRIMARY);
|
||||
s->addEvent360(360, TriggerValue::FALL, TriggerWheel::T_PRIMARY);
|
||||
}
|
||||
|
|
|
@ -11,5 +11,3 @@ class TriggerWaveform;
|
|||
|
||||
// TT_2JZ_3_34
|
||||
void initialize2jzGE3_34_simulation_shape(TriggerWaveform *s);
|
||||
|
||||
void initializeToyota4_1(TriggerWaveform *s);
|
||||
|
|
Loading…
Reference in New Issue