Prefix SD SPI pins (SCK, MISO, MOSI, SS) (#20606)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -196,16 +196,16 @@
|
||||
#ifndef SDIO_SUPPORT
|
||||
#define SOFTWARE_SPI // Use soft SPI for onboard SD
|
||||
#define SDSS SDIO_D3_PIN
|
||||
#define SCK_PIN SDIO_CK_PIN
|
||||
#define MISO_PIN SDIO_D0_PIN
|
||||
#define MOSI_PIN SDIO_CMD_PIN
|
||||
#define SD_SCK_PIN SDIO_CK_PIN
|
||||
#define SD_MISO_PIN SDIO_D0_PIN
|
||||
#define SD_MOSI_PIN SDIO_CMD_PIN
|
||||
#endif
|
||||
|
||||
#elif SD_CONNECTION_IS(LCD)
|
||||
|
||||
#define SCK_PIN PB13
|
||||
#define MISO_PIN PB14
|
||||
#define MOSI_PIN PB15
|
||||
#define SD_SCK_PIN PB13
|
||||
#define SD_MISO_PIN PB14
|
||||
#define SD_MOSI_PIN PB15
|
||||
#define SDSS PF11
|
||||
#define SD_DETECT_PIN PB2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user