Browse Source

Sanity check deprecated SDSLOW, SDEXTRASLOW

Scott Lahteine 9 years ago
parent
commit
438a87eba8
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/SanityCheck.h

+ 4
- 0
Marlin/SanityCheck.h View File

@@ -361,6 +361,10 @@
361 361
   #error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
362 362
 #elif defined(ENABLE_AUTO_BED_LEVELING)
363 363
   #error ENABLE_AUTO_BED_LEVELING deprecated - use AUTO_BED_LEVELING_FEATURE instead
364
+#elif defined(SDSLOW)
365
+  #error SDSLOW deprecated - set SPI_SPEED to SPI_HALF_SPEED instead
366
+#elif defined(SDEXTRASLOW)
367
+  #error SDEXTRASLOW deprecated - set SPI_SPEED to SPI_QUARTER_SPEED instead
364 368
 #endif
365 369
 
366 370
 #endif //SANITYCHECK_H

Loading…
Cancel
Save