SDEXTRASLOW for some SD card readers (PR#176)
Add SDEXTRASLOW which runs the SD card at SPI_QUARTER_SPEED. Quarter speed is needed for RIGIDBOT_PANEL
This commit is contained in:
committed by
Richard Wackerbarth
parent
5d65a36dee
commit
5e36b64635
@ -195,7 +195,9 @@ void CardReader::initsd() {
|
||||
cardOK = false;
|
||||
if (root.isOpen()) root.close();
|
||||
|
||||
#if ENABLED(SDSLOW)
|
||||
#if ENABLED(SDEXTRASLOW)
|
||||
#define SPI_SPEED SPI_QUARTER_SPEED
|
||||
#elif ENABLED(SDSLOW)
|
||||
#define SPI_SPEED SPI_HALF_SPEED
|
||||
#else
|
||||
#define SPI_SPEED SPI_FULL_SPEED
|
||||
|
Reference in New Issue
Block a user