Ver código fonte

Sanity check deprecated SDSLOW, SDEXTRASLOW

Scott Lahteine 8 anos atrás
pai
commit
438a87eba8
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      Marlin/SanityCheck.h

+ 4
- 0
Marlin/SanityCheck.h Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar