Mitsubishi 3A92 Support - 3 cylinder #4011

This commit is contained in:
rusefillc 2022-03-19 15:54:43 -04:00
parent 9571f1fe67
commit b0772612cd
3 changed files with 5 additions and 1 deletions

View File

@ -489,6 +489,7 @@ case TT_SUZUKI_G13B:
case TT_TOOTHED_WHEEL:
return "TT_TOOTHED_WHEEL";
case TT_36_2_1:
case TT_36_2_1_1:
case TT_TOOTHED_WHEEL_32_2:
return "TT_TOOTHED_WHEEL_32_2";
case TT_TOOTHED_WHEEL_36_1:

View File

@ -510,6 +510,8 @@ typedef enum {
// Mitsubishi 4B11 would be this with half moon camshaft
TT_36_2_1 = 70,
// Mitsubishi 3 cyl and 6 cyl
TT_36_2_1_1 = 71,
// 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
@ -518,7 +520,7 @@ typedef enum {
//
// Another point: once you add a new trigger, run get_trigger_images.bat which would run rusefi_test.exe from unit_tests
//
TT_UNUSED = 71, // this is used if we want to iterate over all trigger types
TT_UNUSED = 72, // 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

@ -599,6 +599,7 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e ambiguousOperat
break;
case TT_36_2_1:
case TT_36_2_1_1:
case TT_TOOTHED_WHEEL_32_2:
setToothedWheelConfiguration(this, 32, 2, ambiguousOperationMode);
// todo: add this second/third into 'setToothedWheelConfiguration' as long as we have enough tooth?