From 9975d7a83fc96bdf2dc5fd5cbf7567d13c623a31 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 15 May 2020 00:29:18 -0400 Subject: [PATCH] moving SD card to SPI1 thank you Matt! --- .../config/boards/microrusefi/board_configuration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 356d971c46..ca84ebac68 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -199,12 +199,12 @@ void setBoardConfigurationOverrides(void) { // GPIOE_8: "35 - GP Out 1" engineConfiguration->fuelPumpPin = GPIOE_8; - engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3; - engineConfiguration->spi3mosiPin = GPIOC_12; - engineConfiguration->spi3misoPin = GPIOC_11; - engineConfiguration->spi3sckPin = GPIOC_10; + engineConfiguration->sdCardSpiDevice = SPI_DEVICE_1; + engineConfiguration->spi1mosiPin = GPIOC_12; + engineConfiguration->spi1misoPin = GPIOC_11; + engineConfiguration->spi1sckPin = GPIOC_10; engineConfiguration->sdCardCsPin = GPIOB_9; - CONFIG(is_enabled_spi_3) = true; + CONFIG(is_enabled_spi_1) = true; // engineConfiguration->isSdCardEnabled = true;