Adding SDULTRASLOW variable.

Instead of changing SDEXTRASLOW variable to a slower speed,  the new
SDULTRASLOW is used for rigidbot panel.
This commit is contained in:
Ruwan J Egoda Gamage
2015-12-13 15:47:10 -05:00
committed by Richard Wackerbarth
parent 6f9e9c0e4f
commit 1b7c443628
17 changed files with 20 additions and 2 deletions

View File

@ -195,8 +195,10 @@ void CardReader::initsd() {
cardOK = false;
if (root.isOpen()) root.close();
#if ENABLED(SDEXTRASLOW)
#if ENABLED(SDULTRASLOW)
#define SPI_SPEED SPI_SIXTEENTH_SPEED
#elif ENABLED(SDEXTRASLOW)
#define SPI_SPEED SPI_QUARTER_SPEED
#elif ENABLED(SDSLOW)
#define SPI_SPEED SPI_HALF_SPEED
#else