auto-sync

This commit is contained in:
rusEfi 2014-12-25 14:03:59 -06:00
parent 9c9a3dbd8a
commit 28961ac456
7 changed files with 15 additions and 8 deletions

View File

@ -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:

View File

@ -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);

View File

@ -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";

View File

@ -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
/**

View File

@ -23,7 +23,7 @@
#include "engine.h"
#define DEFAULT_ENGINE_TYPE DEFAULT_ENGINE
#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE
static bool needToWriteConfiguration = false;

View File

@ -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;
}

View File

@ -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