Getting rid of SDEXTRASLOW, SDSLOW variables.
This commit is contained in:
committed by
Richard Wackerbarth
parent
1833049b8a
commit
b58083b0fa
@ -195,13 +195,7 @@ void CardReader::initsd() {
|
||||
cardOK = false;
|
||||
if (root.isOpen()) root.close();
|
||||
|
||||
#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
|
||||
#ifndef SPI_SPEED
|
||||
#define SPI_SPEED SPI_FULL_SPEED
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user