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:
parent
5d65a36dee
commit
5e36b64635
19 changed files with 21 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue