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:
committed by
Richard Wackerbarth
parent
6f9e9c0e4f
commit
1b7c443628
@ -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
|
||||
|
Reference in New Issue
Block a user