This commit is contained in:
rusefi 2018-10-30 04:46:13 -04:00
parent af25eb8c6d
commit 41073e2b1a
6 changed files with 37 additions and 1 deletions

View File

@ -179,6 +179,8 @@ case TT_FORD_ASPIRE:
return "TT_FORD_ASPIRE";
case TT_GM_7X:
return "TT_GM_7X";
case TT_FIAT_IAW_P8:
return "TT_FIAT_IAW_P8";
case TT_GM_LS_24:
return "TT_GM_LS_24";
case TT_HONDA_1_24:

View File

@ -284,7 +284,11 @@ typedef enum {
// Jeep XJ 2500cc 4 cylinder. See also TT_JEEP_18_2_2_2 for 6 cylinders
TT_JEEP_4_CYL = 40,
TT_UNUSED = 41, // this is used if we want to iterate over all trigger types
// magneti marelli Fiat/Lancia IAW P8 from the 90', 2.0 16 v turbo engine - Lancia Coupe
// https://rusefi.com/forum/viewtopic.php?f=5&t=1440
TT_FIAT_IAW_P8 = 41,
TT_UNUSED = 42, // this is used if we want to iterate over all trigger types
Force_4_bytes_size_trigger_type = ENUM_32_BITS,
} trigger_type_e;

View File

@ -0,0 +1,13 @@
/*
* trigger_misc.cpp
*
* Created on: Oct 30, 2018
* @author Andrey Belomutskiy, (c) 2012-2018
*/
#include "trigger_misc.h"
void configureFiatIAQ_P8(TriggerShape * s DECLARE_ENGINE_PARAMETER_SUFFIX) {
}

View File

@ -0,0 +1,15 @@
/*
* trigger_misc.h
*
* Created on: Oct 30, 2018
* @author Andrey Belomutskiy, (c) 2012-2018
*/
#ifndef CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_
#define CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_
#include "trigger_structure.h"
void configureFiatIAQ_P8(TriggerShape * s DECLARE_ENGINE_PARAMETER_SUFFIX);
#endif /* CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_ */

View File

@ -14,6 +14,7 @@ TRIGGER_DECODERS_SRC_CPP = \
$(PROJECT_DIR)/controllers/trigger/decoders/trigger_honda.cpp \
$(PROJECT_DIR)/controllers/trigger/decoders/trigger_rover.cpp \
$(PROJECT_DIR)/controllers/trigger/decoders/trigger_vw.cpp \
$(PROJECT_DIR)/controllers/trigger/decoders/trigger_misc.cpp \
$(PROJECT_DIR)/controllers/trigger/decoders/trigger_universal.cpp
TRIGGER_SRC_CPP = \

View File

@ -639,6 +639,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
initializeRoverK(this PASS_ENGINE_PARAMETER_SUFFIX);
break;
case TT_FIAT_IAW_P8:
case TT_GM_LS_24:
initGmLS24(this PASS_ENGINE_PARAMETER_SUFFIX);
break;