honda K enum rename
This commit is contained in:
parent
08499c7252
commit
c6a2f2657b
|
@ -412,10 +412,10 @@ case TT_GM_7X:
|
|||
return "TT_GM_7X";
|
||||
case TT_HONDA_CBR_600:
|
||||
return "TT_HONDA_CBR_600";
|
||||
case TT_HONDA_K_12_1:
|
||||
return "TT_HONDA_K_12_1";
|
||||
case TT_HONDA_K_4_1:
|
||||
return "TT_HONDA_K_4_1";
|
||||
case TT_HONDA_K_CRANK_12_1:
|
||||
return "TT_HONDA_K_CRANK_12_1";
|
||||
case TT_HONDA_K_CAM_4_1:
|
||||
return "TT_HONDA_K_CAM_4_1";
|
||||
case TT_JEEP_18_2_2_2:
|
||||
return "TT_JEEP_18_2_2_2";
|
||||
case TT_JEEP_4_CYL:
|
||||
|
|
|
@ -431,7 +431,10 @@ typedef enum {
|
|||
*/
|
||||
TT_RENIX_66_2_2_2 = 45,
|
||||
|
||||
TT_HONDA_K_12_1 = 46,
|
||||
/**
|
||||
* Honda K crank shape
|
||||
*/
|
||||
TT_HONDA_K_CRANK_12_1 = 46,
|
||||
|
||||
TT_VVT_BOSCH_QUICK_START = 47,
|
||||
|
||||
|
@ -479,7 +482,10 @@ typedef enum {
|
|||
|
||||
TT_SUZUKI_G13B = 66,
|
||||
|
||||
TT_HONDA_K_4_1 = 67,
|
||||
/**
|
||||
* Honda K cam shaft
|
||||
*/
|
||||
TT_HONDA_K_CAM_4_1 = 67,
|
||||
|
||||
TT_NISSAN_MR18_CRANK = 68,
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ static void kseriesTooth(TriggerWaveform* s, float end) {
|
|||
s->addEvent360(end , TriggerWheel::T_PRIMARY, TriggerValue::FALL);
|
||||
}
|
||||
|
||||
// TT_HONDA_K_12_1
|
||||
// TT_HONDA_K_CRANK_12_1
|
||||
void configureHondaK_12_1(TriggerWaveform *s) {
|
||||
s->initialize(FOUR_STROKE_CRANK_SENSOR);
|
||||
|
||||
|
|
|
@ -679,11 +679,11 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
|
|||
configureBarra3plus1cam(this);
|
||||
break;
|
||||
|
||||
case TT_HONDA_K_4_1:
|
||||
case TT_HONDA_K_CAM_4_1:
|
||||
configureHondaK_4_1(this);
|
||||
break;
|
||||
|
||||
case TT_HONDA_K_12_1:
|
||||
case TT_HONDA_K_CRANK_12_1:
|
||||
configureHondaK_12_1(this);
|
||||
break;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ static void doTest(const char* testFile, int expectedRpm) {
|
|||
engineConfiguration->isFasterEngineSpinUpEnabled = true;
|
||||
engineConfiguration->alwaysInstantRpm = true;
|
||||
|
||||
eth.setTriggerType(TT_HONDA_K_12_1);
|
||||
eth.setTriggerType(TT_HONDA_K_CRANK_12_1);
|
||||
|
||||
while (reader.haveMore()) {
|
||||
reader.processLine(ð);
|
||||
|
|
Loading…
Reference in New Issue