Getting rid of SDEXTRASLOW, SDSLOW variables.
This commit is contained in:
parent
1833049b8a
commit
b58083b0fa
17 changed files with 17 additions and 55 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue