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:
Mike Cochrane
2015-09-14 01:18:26 +12:00
committed by Richard Wackerbarth
parent 5d65a36dee
commit 5e36b64635
19 changed files with 21 additions and 1 deletions

View File

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