1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

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
#define SD_CHIP_SELECT_PIN SS_PIN // The default chip select pin for the SD card is SS.
#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
class Sd2Card {