auto-sync

This commit is contained in:
rusEfi 2015-10-17 13:02:05 -04:00
parent 58fd495c21
commit 15296a8e8d
8 changed files with 54 additions and 2 deletions

View File

@ -30,5 +30,6 @@ ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
$(PROJECT_DIR)/config/engines/vw.cpp \
$(PROJECT_DIR)/config/engines/dodge_stratus.cpp \
$(PROJECT_DIR)/config/engines/chevrolet_camaro_4.cpp \
$(PROJECT_DIR)/config/engines/suzuki_vitara.cpp \
$(PROJECT_DIR)/config/engines/daihatsu.cpp

View File

@ -0,0 +1,24 @@
/*
* @file suzuki_vitara.cpp
*
* set_engine_type 36
*
* @author Andrey Belomutskiy, (c) 2012-2015
* @date Oct 17, 2015
*/
#include "suzuki_vitara.h"
EXTERN_ENGINE;
void setSuzukiVitara(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->trigger.type = TT_MAZDA_SOHC_4;
engineConfiguration->specs.cylindersCount = 4;
engineConfiguration->specs.displacement = 1.590;
engineConfiguration->ignitionMode = IM_ONE_COIL;
engineConfiguration->injectionMode = IM_SIMULTANEOUS;
}

View File

@ -0,0 +1,15 @@
/*
* @file suzuki_vitara.cpp
*
* @author Andrey Belomutskiy, (c) 2012-2015
* @date Oct 17, 2015
*/
#ifndef CONFIG_ENGINES_SUZUKI_VITARA_H_
#define CONFIG_ENGINES_SUZUKI_VITARA_H_
#include "engine.h"
void setSuzukiVitara(DECLARE_ENGINE_PARAMETER_F);
#endif /* CONFIG_ENGINES_SUZUKI_VITARA_H_ */

View File

@ -30,6 +30,8 @@ case SACHS:
return "SACHS";
case DAIHATSU:
return "DAIHATSU";
case SUZUKI_VITARA:
return "SUZUKI_VITARA";
case CAMARO_4:
return "CAMARO_4";
case GM_2_2:

View File

@ -64,6 +64,7 @@
#include "dodge_stratus.h"
#include "daihatsu.h"
#include "chevrolet_camaro_4.h"
#include "suzuki_vitara.h"
EXTERN_ENGINE;
@ -703,6 +704,9 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
case SATURN_ION_2004:
setSaturnIonEngineConfiguration(engineConfiguration);
break;
case SUZUKI_VITARA:
setSuzukiVitara(PASS_ENGINE_PARAMETER_F);
break;
case MINI_COOPER_R50:
setMiniCooperR50(engineConfiguration);
break;

View File

@ -107,7 +107,9 @@ typedef enum {
CAMARO_4 = 35,
ET_UNUSED = 36,
SUZUKI_VITARA = 36,
ET_UNUSED = 37,
Force_4b_engine_type = ENUM_32_BITS,
} engine_type_e;

View File

@ -180,6 +180,10 @@ const char* getConfigurationName(engine_type_e engineType) {
return "SACHS";
case DAIHATSU:
return "DAIHATSU";
case SUZUKI_VITARA:
return "SUZUKI_VITARA";
case CAMARO_4:
return "CAMARO_4";
case GM_2_2:
return "GM_2_2";
case DODGE_RAM:

View File

@ -275,5 +275,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20151012;
return 20151017;
}