diff --git a/firmware/controllers/algo/auto_generated_enums.cpp b/firmware/controllers/algo/auto_generated_enums.cpp index f148390ff0..a0bdaf5116 100644 --- a/firmware/controllers/algo/auto_generated_enums.cpp +++ b/firmware/controllers/algo/auto_generated_enums.cpp @@ -201,8 +201,8 @@ case GPIO_10: #include "rusefi_enums.h" const char *getEngine_type_e(engine_type_e value){ switch(value) { -case DEFAULT_ENGINE: - return "DEFAULT_ENGINE"; +case CUSTOM_ENGINE: + return "CUSTOM_ENGINE"; case SATURN_ION_2004: return "SATURN_ION_2004"; case CITROEN_TU3JP: diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index c532874ee7..298960bfbe 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -492,6 +492,10 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_ boardConfiguration->tunerStudioSerialSpeed = TS_DEFAULT_SPEED; } +static void setCustomEngineConfiguration(engine_configuration_s *engineConfiguration) { + +} + void resetConfigurationExt(Logging * logger, engine_type_e engineType, Engine *engine) { engine_configuration_s *engineConfiguration = engine->engineConfiguration; engine_configuration2_s *engineConfiguration2 = engine->engineConfiguration2; @@ -509,6 +513,9 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType, Engine *e * And override them with engine-specific defaults */ switch (engineType) { + case CUSTOM_ENGINE: + setCustomEngineConfiguration(engineConfiguration); + break; #if EFI_SUPPORT_DODGE_NEON || defined(__DOXYGEN__) case DODGE_NEON_1995: setDodgeNeon1995EngineConfiguration(engineConfiguration, boardConfiguration); diff --git a/firmware/controllers/algo/enum_strings.cpp b/firmware/controllers/algo/enum_strings.cpp index b34baf2479..e81684f664 100644 --- a/firmware/controllers/algo/enum_strings.cpp +++ b/firmware/controllers/algo/enum_strings.cpp @@ -16,8 +16,8 @@ */ const char* getConfigurationName(engine_type_e engineType) { switch (engineType) { - case DEFAULT_ENGINE: - return "DEFAULT"; + case CUSTOM_ENGINE: + return "CUSTOM"; #if EFI_SUPPORT_DODGE_NEON case DODGE_NEON_1995: return "Neon95"; diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index 166fee810d..c3a92473b5 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -24,7 +24,7 @@ #define LOGIC_ANALYZER_CHANNEL_COUNT 4 typedef enum { - DEFAULT_ENGINE = 0, + CUSTOM_ENGINE = 0, AUDI_AAN = 1, #if EFI_SUPPORT_DODGE_NEON /** diff --git a/firmware/controllers/flash_main.cpp b/firmware/controllers/flash_main.cpp index 207992f584..37cf04de5d 100644 --- a/firmware/controllers/flash_main.cpp +++ b/firmware/controllers/flash_main.cpp @@ -23,7 +23,7 @@ #include "engine.h" -#define DEFAULT_ENGINE_TYPE DEFAULT_ENGINE +#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE static bool needToWriteConfiguration = false; diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 326f3e8a28..837efb5c48 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -265,5 +265,5 @@ int getRusEfiVersion(void) { return 1; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE == 0) return 1; // this is here to make the compiler happy about the unused array - return 20141224; + return 20141225; } diff --git a/hardware/frankenso/known_issues.txt b/hardware/frankenso/known_issues.txt index 59aa88bf0d..963968a801 100644 --- a/hardware/frankenso/known_issues.txt +++ b/hardware/frankenso/known_issues.txt @@ -48,7 +48,7 @@ 47) Per 32) and 33) change W64,63 change to single hole, which allows U chips to move away from enclosre metal wall 48) Make hidden text for component values align such that a picture can be caputured that displays the component values. 49) check VR against 1996 Miata's. -50) HIP9011 CS line needs to be pulled down, not pulled up +50) HIP9011 CS should be connected some GPIO pin, PD11 would work 51) CAN_RX line should be connected to PB12, not PD12 For honda add-on / rewiring board