auto-sync

This commit is contained in:
rusEfi 2016-03-26 06:03:24 -04:00
parent 482eb7273d
commit 0578925d21
6 changed files with 23 additions and 4 deletions

View File

@ -6,5 +6,10 @@
*/
#include "engine_template.h"
#include "custom_engine.h"
EXTERN_ENGINE;
void setEngineTemplateConfiguration(DECLARE_ENGINE_PARAMETER_F) {
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F);
}

View File

@ -5,6 +5,12 @@
* @author Andrey Belomutskiy, (c) 2012-2016
*/
#include "geo_storm.h"
#include "custom_engine.h"
EXTERN_ENGINE;
void setGeoStormConfiguration(DECLARE_ENGINE_PARAMETER_F) {
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F);
}

View File

@ -38,6 +38,8 @@ case CHEVY_C20_1973:
return "CHEVY C20";
case TOYOTA_JZS147:
return "TOYOTA_JZS147";
case GEO_STORM:
return "GEO_STORM";
case LADA_KALINA:
return "LADA_KALINA";
case GM_2_2:

View File

@ -38,6 +38,7 @@
#include "hip9011_lookup.h"
#include "custom_engine.h"
#include "engine_template.h"
#include "acura_rsx.h"
#include "audi_aan.h"
#include "bmw_e34.h"
@ -72,6 +73,8 @@
#include "toyota_jzs147.h"
#include "ford_festiva.h"
#include "lada_kalina.h"
#include "geo_storm.h"
EXTERN_ENGINE;
@ -877,6 +880,9 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
case TOYOTA_JZS147:
setToyota_jzs147EngineConfiguration(PASS_ENGINE_PARAMETER_F);
break;
case GEO_STORM:
setGeoStormConfiguration(PASS_ENGINE_PARAMETER_F);
break;
default:
warning(OBD_PCM_Processor_Fault, "Unexpected engine type: %d", engineType);

View File

@ -119,7 +119,9 @@ typedef enum {
LADA_KALINA = 39,
ET_UNUSED = 40,
GEO_STORM = 40,
ET_UNUSED = 41,
Force_4b_engine_type = ENUM_32_BITS,
} engine_type_e;

View File

@ -194,10 +194,8 @@ const char* getConfigurationName(engine_type_e engineType) {
return "Mazda626";
case TOYOTA_JZS147:
return "TOYOTA_JZS147";
case LADA_KALINA:
return "LADA_KALINA";
default:
return "UnknownType";
return getEngine_type_e(engineType);
}
}