refactoring - better constant name

This commit is contained in:
rusefi 2017-02-22 21:13:04 -05:00
parent 973d1de4d9
commit b449c012b4
4 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ EXTERN_ENGINE;
void setMitsubishiConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->engineType = MITSU_4G93;
engineConfiguration->trigger.type = TT_MITSU; // same trigger as 4G63?
engineConfiguration->trigger.type = TT_MITSUBISHI; // same trigger as 4G63?
engineConfiguration->specs.cylindersCount = 4;
engineConfiguration->specs.displacement = 1.800;

View File

@ -183,8 +183,8 @@ case TT_JEEP_18_2_2_2:
return "TT_18_2_2_2";
case TT_MINI_COOPER_R50:
return "TT_MINI_COOPER_R50";
case TT_MITSU:
return "TT_MITSU";
case TT_MITSUBISHI:
return "TT_MITSUBISHI";
case TT_TOOTHED_WHEEL:
return "TT_TOOTHED_WHEEL";
case TT_TOOTHED_WHEEL_36_1:

View File

@ -162,7 +162,7 @@ typedef enum {
TT_HONDA_4_24_1 = 10,
TT_MITSU = 11,
TT_MITSUBISHI = 11,
// this makes sense because mechanical spark distribution does not require synchronization
TT_HONDA_4_24 = 12,

View File

@ -550,7 +550,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
configureHondaCbr600custom(triggerShape PASS_ENGINE_PARAMETER);
break;
case TT_MITSU:
case TT_MITSUBISHI:
initializeMitsubishi4g18(triggerShape PASS_ENGINE_PARAMETER);
break;