Fix pin based on SOFT_SPI_CS (#14504)

This commit is contained in:
Giuliano Zaro 2019-07-05 09:01:52 +02:00 committed by Scott Lahteine
parent 66e16af29d
commit 2bf11da5ab

View file

@ -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 {