I2C EEPROM support #3860
This commit is contained in:
parent
7e96c3ee05
commit
d45b8361c2
|
@ -302,6 +302,9 @@ void setIssue898() {
|
|||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
void setEepromTestConfiguration() {
|
||||
}
|
||||
|
||||
// F407 discovery
|
||||
void setL9779TestConfiguration() {
|
||||
// enable_spi 3
|
||||
|
|
|
@ -17,6 +17,8 @@ void setEtbTestConfiguration();
|
|||
void setTle8888TestConfiguration();
|
||||
void setL9779TestConfiguration();
|
||||
|
||||
void setEepromTestConfiguration();
|
||||
|
||||
void setIssue898();
|
||||
void setTestQuadCam();
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@ case TOYOTA_JZS147:
|
|||
return "TOYOTA_JZS147";
|
||||
case UNUSED39:
|
||||
return "UNUSED39";
|
||||
case UNUSED61:
|
||||
case EEPROM_BENCH_ENGINE:
|
||||
return "UNUSED61";
|
||||
case UNUSED_48:
|
||||
return "UNUSED_48";
|
||||
|
|
|
@ -845,7 +845,6 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
|||
* And override them with engine-specific defaults
|
||||
*/
|
||||
switch (engineType) {
|
||||
case UNUSED61:
|
||||
case HELLEN72_ETB:
|
||||
case MINIMAL_PINS:
|
||||
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
|
||||
|
@ -1038,6 +1037,9 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
|||
case L9779_BENCH_ENGINE:
|
||||
setL9779TestConfiguration();
|
||||
break;
|
||||
case EEPROM_BENCH_ENGINE:
|
||||
setEepromTestConfiguration();
|
||||
break;
|
||||
case TLE8888_BENCH_ENGINE:
|
||||
setTle8888TestConfiguration();
|
||||
break;
|
||||
|
|
|
@ -160,7 +160,7 @@ typedef enum {
|
|||
|
||||
L9779_BENCH_ENGINE = 60,
|
||||
|
||||
UNUSED61 = 61,
|
||||
EEPROM_BENCH_ENGINE = 61,
|
||||
|
||||
VW_B6 = 62,
|
||||
|
||||
|
|
Loading…
Reference in New Issue