1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Leave SPI CPOL/CPHA at default for SD card (#14142)

This commit is contained in:
Steve Evans 2025-01-10 22:04:50 +00:00 committed by GitHub
parent aef3e72157
commit 8375e4e002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -566,9 +566,6 @@ static void sdcardSpi_init(const sdcardConfig_t *config, const spiPinConfig_t *s
} }
sdcard.dev.busType_u.spi.csnPin = chipSelectIO; 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 // Set the callback argument when calling back to this driver for DMA completion
sdcard.dev.callbackArg = (uint32_t)&sdcard; sdcard.dev.callbackArg = (uint32_t)&sdcard;