only:hellen SD reshuffle

This commit is contained in:
rusEFI LLC 2024-07-09 21:15:10 -04:00
parent 8283d9add2
commit 01f7aabcbd
1 changed files with 5 additions and 5 deletions

View File

@ -247,9 +247,9 @@ static void enableHellenSpi1() {
engineConfiguration->is_enabled_spi_1 = true;
}
static void setHellenSdCardSpi1NoCS() {
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_1;
static void setHellenSdCardSpi1Hardware() {
engineConfiguration->sdCardCsPin = Gpio::H_SPI1_CS1;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_1;
enableHellenSpi1();
}
@ -275,8 +275,8 @@ static void setAccelerometerSpi() {
}
static void setHellenSdCardSpi1() {
setHellenSdCardSpi1NoCS();
engineConfiguration->sdCardCsPin = Gpio::H_SPI1_CS1;
setHellenSdCardSpi1Hardware();
engineConfiguration->isSdCardEnabled = true;
}
static void setHellen64SdCardSpi() {