mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
Leave SPI CPOL/CPHA at default for SD card (#14142)
This commit is contained in:
parent
aef3e72157
commit
8375e4e002
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue