helping build
This commit is contained in:
parent
10cab3390a
commit
c50bf8666b
|
@ -302,7 +302,7 @@ void setIssue898() {
|
|||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
#if HW_FRANKENSO
|
||||
#if HW_FRANKENSO && EFI_PROD_CODE
|
||||
|
||||
static const I2CConfig i2cfg = {
|
||||
OPMODE_I2C,
|
||||
|
@ -341,9 +341,12 @@ static I2CEepromFileStream ifile;
|
|||
* set engine_type 61
|
||||
*/
|
||||
void setEepromTestConfiguration() {
|
||||
// i2cStart(&EE_U2CD, &i2cfg);
|
||||
// efiSetPadMode("I2C", GPIOA_8, PAL_MODE_ALTERNATE(4));
|
||||
// efiSetPadMode("I2C", GPIOC_9, PAL_MODE_ALTERNATE(4));
|
||||
i2cStart(&EE_U2CD, &i2cfg);
|
||||
engineConfiguration->ignitionPins[2] = GPIO_UNASSIGNED;
|
||||
// dirty hack
|
||||
brain_pin_markUnused(GPIOC_9);
|
||||
efiSetPadMode("I2C", GPIOA_8, PAL_MODE_ALTERNATE(4));
|
||||
efiSetPadMode("I2C", GPIOC_9, PAL_MODE_ALTERNATE(4));
|
||||
|
||||
|
||||
addConsoleActionI("ee_read",
|
||||
|
|
|
@ -1038,7 +1038,9 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
|||
setL9779TestConfiguration();
|
||||
break;
|
||||
case EEPROM_BENCH_ENGINE:
|
||||
setEepromTestConfiguration();
|
||||
#if EFI_PROD_CODE
|
||||
setEepromTestConfiguration();
|
||||
#endif
|
||||
break;
|
||||
case TLE8888_BENCH_ENGINE:
|
||||
setTle8888TestConfiguration();
|
||||
|
|
Loading…
Reference in New Issue