Skip to content

Commit

Permalink
Leave SPI CPOL/CPHA at default for SD card (betaflight#14142)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCEvans authored Jan 10, 2025
1 parent aef3e72 commit 8375e4e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/drivers/sdcard_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8375e4e

Please sign in to comment.