diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 366f4b04c5..3b082e6cd0 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -171,7 +171,6 @@ void setBoardConfigOverrides(void) { // SPI for SD card engineConfiguration->is_enabled_spi_3 = true; engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3; - engineConfiguration->sdCardCsPin = GPIOB_9; engineConfiguration->spi3mosiPin = GPIOC_12; engineConfiguration->spi3misoPin = GPIOC_11; @@ -201,6 +200,7 @@ void setSerialConfigurationOverrides(void) { void setBoardDefaultConfiguration(void) { setInjectorPins(); setIgnitionPins(); + engineConfiguration->sdCardCsPin = GPIOB_9; // MRE has a special main relay control low side pin // rusEfi firmware is totally not involved with main relay control on microRusEfi board diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 59fc61d58b..69584f7897 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -767,6 +767,7 @@ void setTest33816EngineConfiguration() { engineConfiguration->mc33816_cs = GPIOD_7; // green engineConfiguration->mc33816_rstb = GPIOD_4; + engineConfiguration->sdCardCsPin = GPIO_UNASSIGNED; // yellow engineConfiguration->mc33816_driven = GPIOD_6;