Mitsubishi 6G75 Support #4014

This commit is contained in:
rusefillc 2022-03-19 16:28:06 -04:00
parent e3bb929c6d
commit 9bc4094e48
3 changed files with 8 additions and 4 deletions

View File

@ -450,7 +450,8 @@ case TT_MIATA_VVT:
return "TT_MIATA_VVT";
case TT_MITSUBISHI:
return "TT_MITSUBISHI";
case TT_MITSUBISHI_3A92:
case TT_VVT_MITSUBISHI_6G75:
case TT_VVT_MITSUBISHI_3A92:
return "TT_MITSUBISHI_3A92";
case TT_NISSAN_MR18_CAM_VVT:
return "TT_NISSAN_MR18_CAM_VVT";

View File

@ -491,7 +491,7 @@ typedef enum {
TT_NISSAN_QR25 = 61,
TT_MITSUBISHI_3A92 = 62,
TT_VVT_MITSUBISHI_3A92 = 62,
TT_SUBARU_SVX_CRANK_1 = 63,
@ -514,13 +514,15 @@ typedef enum {
TT_36_2_1_1 = 71,
TT_VVT_MITSUBISHI_6G75 = 72,
// do not forget to edit "#define trigger_type_e_enum" line in integration/rusefi_config.txt file to propogate new value to rusefi.ini TS project
// do not forget to invoke "gen_config.bat" once you make changes to integration/rusefi_config.txt
// todo: one day a hero would integrate some of these things into Makefile in order to reduce manual magic
//
// Another point: once you add a new trigger, run get_trigger_images.bat which would run rusefi_test.exe from unit_tests
//
TT_UNUSED = 72, // this is used if we want to iterate over all trigger types
TT_UNUSED = 73, // this is used if we want to iterate over all trigger types
// todo: convert to ENUM_16_BITS? I can see 257 triggers but not 65K triggers
Force_4_bytes_size_trigger_type = ENUM_32_BITS,

View File

@ -529,7 +529,8 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e ambiguousOperat
initializeNissanVQvvt(this);
break;
case TT_MITSUBISHI_3A92:
case TT_VVT_MITSUBISHI_6G75:
case TT_VVT_MITSUBISHI_3A92:
case TT_NISSAN_QR25:
initializeNissanQR25crank(this);
break;