Browse Source

Add sanity checks for old names

Scott Lahteine 10 years ago
parent
commit
5418faa1f9
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      Marlin/SanityCheck.h

+ 8
- 0
Marlin/SanityCheck.h View File

@@ -366,4 +366,12 @@
366 366
     #error BEEPER has been replaced with BEEPER_PIN. Please update your pins definitions.
367 367
   #endif
368 368
 
369
+  #ifdef SDCARDDETECT
370
+    #error SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions.
371
+  #endif
372
+
373
+  #ifdef SDCARDDETECTINVERTED
374
+    #error SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration.
375
+  #endif
376
+
369 377
 #endif //SANITYCHECK_H

Loading…
Cancel
Save