honda K enum rename

This commit is contained in:
rusefillc 2022-09-23 20:12:34 -04:00
parent 08499c7252
commit c6a2f2657b
5 changed files with 16 additions and 10 deletions

View File

@ -412,10 +412,10 @@ case TT_GM_7X:
return "TT_GM_7X"; return "TT_GM_7X";
case TT_HONDA_CBR_600: case TT_HONDA_CBR_600:
return "TT_HONDA_CBR_600"; return "TT_HONDA_CBR_600";
case TT_HONDA_K_12_1: case TT_HONDA_K_CRANK_12_1:
return "TT_HONDA_K_12_1"; return "TT_HONDA_K_CRANK_12_1";
case TT_HONDA_K_4_1: case TT_HONDA_K_CAM_4_1:
return "TT_HONDA_K_4_1"; return "TT_HONDA_K_CAM_4_1";
case TT_JEEP_18_2_2_2: case TT_JEEP_18_2_2_2:
return "TT_JEEP_18_2_2_2"; return "TT_JEEP_18_2_2_2";
case TT_JEEP_4_CYL: case TT_JEEP_4_CYL:

View File

@ -431,7 +431,10 @@ typedef enum {
*/ */
TT_RENIX_66_2_2_2 = 45, 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, TT_VVT_BOSCH_QUICK_START = 47,
@ -479,7 +482,10 @@ typedef enum {
TT_SUZUKI_G13B = 66, 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, TT_NISSAN_MR18_CRANK = 68,

View File

@ -75,7 +75,7 @@ static void kseriesTooth(TriggerWaveform* s, float end) {
s->addEvent360(end , TriggerWheel::T_PRIMARY, TriggerValue::FALL); 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) { void configureHondaK_12_1(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CRANK_SENSOR); s->initialize(FOUR_STROKE_CRANK_SENSOR);

View File

@ -679,11 +679,11 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
configureBarra3plus1cam(this); configureBarra3plus1cam(this);
break; break;
case TT_HONDA_K_4_1: case TT_HONDA_K_CAM_4_1:
configureHondaK_4_1(this); configureHondaK_4_1(this);
break; break;
case TT_HONDA_K_12_1: case TT_HONDA_K_CRANK_12_1:
configureHondaK_12_1(this); configureHondaK_12_1(this);
break; break;

View File

@ -11,7 +11,7 @@ static void doTest(const char* testFile, int expectedRpm) {
engineConfiguration->isFasterEngineSpinUpEnabled = true; engineConfiguration->isFasterEngineSpinUpEnabled = true;
engineConfiguration->alwaysInstantRpm = true; engineConfiguration->alwaysInstantRpm = true;
eth.setTriggerType(TT_HONDA_K_12_1); eth.setTriggerType(TT_HONDA_K_CRANK_12_1);
while (reader.haveMore()) { while (reader.haveMore()) {
reader.processLine(&eth); reader.processLine(&eth);