Fix pin based on SOFT_SPI_CS (#14504)
This commit is contained in:
parent
66e16af29d
commit
2bf11da5ab
@ -47,7 +47,7 @@
|
|||||||
// hardware pin defs
|
// hardware pin defs
|
||||||
#define SD_CHIP_SELECT_PIN SS_PIN // The default chip select pin for the SD card is SS.
|
#define SD_CHIP_SELECT_PIN SS_PIN // The default chip select pin for the SD card is SS.
|
||||||
#else // SOFTWARE_SPI
|
#else // SOFTWARE_SPI
|
||||||
#define SD_CHIP_SELECT_PIN SOFT_SPI_CS_PIN // SPI chip select pin
|
#define SD_CHIP_SELECT_PIN 10 // Software SPI chip select pin for the SD
|
||||||
#endif // SOFTWARE_SPI
|
#endif // SOFTWARE_SPI
|
||||||
|
|
||||||
class Sd2Card {
|
class Sd2Card {
|
||||||
|
Loading…
Reference in New Issue
Block a user