auto-sync
This commit is contained in:
parent
9c9a3dbd8a
commit
28961ac456
|
@ -201,8 +201,8 @@ case GPIO_10:
|
||||||
#include "rusefi_enums.h"
|
#include "rusefi_enums.h"
|
||||||
const char *getEngine_type_e(engine_type_e value){
|
const char *getEngine_type_e(engine_type_e value){
|
||||||
switch(value) {
|
switch(value) {
|
||||||
case DEFAULT_ENGINE:
|
case CUSTOM_ENGINE:
|
||||||
return "DEFAULT_ENGINE";
|
return "CUSTOM_ENGINE";
|
||||||
case SATURN_ION_2004:
|
case SATURN_ION_2004:
|
||||||
return "SATURN_ION_2004";
|
return "SATURN_ION_2004";
|
||||||
case CITROEN_TU3JP:
|
case CITROEN_TU3JP:
|
||||||
|
|
|
@ -492,6 +492,10 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
||||||
boardConfiguration->tunerStudioSerialSpeed = TS_DEFAULT_SPEED;
|
boardConfiguration->tunerStudioSerialSpeed = TS_DEFAULT_SPEED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void setCustomEngineConfiguration(engine_configuration_s *engineConfiguration) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void resetConfigurationExt(Logging * logger, engine_type_e engineType, Engine *engine) {
|
void resetConfigurationExt(Logging * logger, engine_type_e engineType, Engine *engine) {
|
||||||
engine_configuration_s *engineConfiguration = engine->engineConfiguration;
|
engine_configuration_s *engineConfiguration = engine->engineConfiguration;
|
||||||
engine_configuration2_s *engineConfiguration2 = engine->engineConfiguration2;
|
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
|
* And override them with engine-specific defaults
|
||||||
*/
|
*/
|
||||||
switch (engineType) {
|
switch (engineType) {
|
||||||
|
case CUSTOM_ENGINE:
|
||||||
|
setCustomEngineConfiguration(engineConfiguration);
|
||||||
|
break;
|
||||||
#if EFI_SUPPORT_DODGE_NEON || defined(__DOXYGEN__)
|
#if EFI_SUPPORT_DODGE_NEON || defined(__DOXYGEN__)
|
||||||
case DODGE_NEON_1995:
|
case DODGE_NEON_1995:
|
||||||
setDodgeNeon1995EngineConfiguration(engineConfiguration, boardConfiguration);
|
setDodgeNeon1995EngineConfiguration(engineConfiguration, boardConfiguration);
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
*/
|
*/
|
||||||
const char* getConfigurationName(engine_type_e engineType) {
|
const char* getConfigurationName(engine_type_e engineType) {
|
||||||
switch (engineType) {
|
switch (engineType) {
|
||||||
case DEFAULT_ENGINE:
|
case CUSTOM_ENGINE:
|
||||||
return "DEFAULT";
|
return "CUSTOM";
|
||||||
#if EFI_SUPPORT_DODGE_NEON
|
#if EFI_SUPPORT_DODGE_NEON
|
||||||
case DODGE_NEON_1995:
|
case DODGE_NEON_1995:
|
||||||
return "Neon95";
|
return "Neon95";
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#define LOGIC_ANALYZER_CHANNEL_COUNT 4
|
#define LOGIC_ANALYZER_CHANNEL_COUNT 4
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
DEFAULT_ENGINE = 0,
|
CUSTOM_ENGINE = 0,
|
||||||
AUDI_AAN = 1,
|
AUDI_AAN = 1,
|
||||||
#if EFI_SUPPORT_DODGE_NEON
|
#if EFI_SUPPORT_DODGE_NEON
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
|
|
||||||
#define DEFAULT_ENGINE_TYPE DEFAULT_ENGINE
|
#define DEFAULT_ENGINE_TYPE CUSTOM_ENGINE
|
||||||
|
|
||||||
static bool needToWriteConfiguration = false;
|
static bool needToWriteConfiguration = false;
|
||||||
|
|
||||||
|
|
|
@ -265,5 +265,5 @@ int getRusEfiVersion(void) {
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE == 0)
|
if (UNUSED_CCM_SIZE == 0)
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
return 20141224;
|
return 20141225;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
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.
|
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.
|
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
|
51) CAN_RX line should be connected to PB12, not PD12
|
||||||
|
|
||||||
For honda add-on / rewiring board
|
For honda add-on / rewiring board
|
||||||
|
|
Loading…
Reference in New Issue