explicit SR20VE name
This commit is contained in:
parent
760c953e47
commit
0d330b3c84
|
@ -207,8 +207,8 @@ case TT_DODGE_RAM:
|
|||
return "TT_DODGE_RAM";
|
||||
case TT_UNUSED:
|
||||
return "TT_UNUSED";
|
||||
case TT_NISSAN:
|
||||
return "TT_NISSAN";
|
||||
case TT_NISSAN_SR20VE:
|
||||
return "TT_NISSAN_SR20VE";
|
||||
case TT_2JZ_1_12:
|
||||
return "TT_2JZ_1_12";
|
||||
case TT_2JZ_3_34:
|
||||
|
|
|
@ -207,7 +207,7 @@ typedef enum {
|
|||
|
||||
TT_36_2_2_2 = 23,
|
||||
|
||||
TT_NISSAN = 24,
|
||||
TT_NISSAN_SR20VE = 24,
|
||||
|
||||
TT_2JZ_3_34 = 25,
|
||||
|
||||
|
|
|
@ -7,23 +7,28 @@
|
|||
|
||||
#include "trigger_nissan.h"
|
||||
|
||||
void initializeNissan(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
||||
void initializeNissanSR20VE(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
||||
s->initialize(FOUR_STROKE_CAM_SENSOR, false);
|
||||
s->isSynchronizationNeeded = false;
|
||||
|
||||
float w = 5;
|
||||
|
||||
float base = 180;
|
||||
s->addEvent2(base - w, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(base, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
// todo: what was this about? :) what Nissan? Need to dig the forum around Sep 19, 2015
|
||||
// was is the the one with 360 opto sensor?
|
||||
|
||||
base += 180;
|
||||
// todo
|
||||
base += 180;
|
||||
// todo
|
||||
base += 180;
|
||||
s->addEvent2(base - w, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(base, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
base += 180;
|
||||
s->addEvent2(base - w, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(base, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
base += 180;
|
||||
s->addEvent2(base - w, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(base, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
|
||||
#include "trigger_structure.h"
|
||||
|
||||
void initializeNissan(TriggerShape *s DECLARE_ENGINE_PARAMETER_S);
|
||||
void initializeNissanSR20VE(TriggerShape *s DECLARE_ENGINE_PARAMETER_S);
|
||||
|
||||
#endif /* CONTROLLERS_TRIGGER_TRIGGER_NISSAN_H_ */
|
||||
|
|
|
@ -625,8 +625,8 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
|
|||
initialize2jzGE1_12(this PASS_ENGINE_PARAMETER);
|
||||
break;
|
||||
|
||||
case TT_NISSAN:
|
||||
initializeNissan(this PASS_ENGINE_PARAMETER);
|
||||
case TT_NISSAN_SR20VE:
|
||||
initializeNissanSR20VE(this PASS_ENGINE_PARAMETER);
|
||||
break;
|
||||
|
||||
case TT_ROVER_K:
|
||||
|
|
Loading…
Reference in New Issue