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:
parent
6f9e9c0e4f
commit
1b7c443628
17 changed files with 20 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue