From 8375e4e0024f60b237533ffb3aa465cf071f792b Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Fri, 10 Jan 2025 22:04:50 +0000 Subject: [PATCH] Leave SPI CPOL/CPHA at default for SD card (#14142) --- src/main/drivers/sdcard_spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/drivers/sdcard_spi.c b/src/main/drivers/sdcard_spi.c index 33a038eb8a9..65e7157e5b0 100644 --- a/src/main/drivers/sdcard_spi.c +++ b/src/main/drivers/sdcard_spi.c @@ -566,9 +566,6 @@ static void sdcardSpi_init(const sdcardConfig_t *config, const spiPinConfig_t *s } sdcard.dev.busType_u.spi.csnPin = chipSelectIO; - // Set the clock phase/polarity - spiSetClkPhasePolarity(&sdcard.dev, true); - // Set the callback argument when calling back to this driver for DMA completion sdcard.dev.callbackArg = (uint32_t)&sdcard;