Browse Source

Add a sanity check for old name "BEEPER"

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

+ 4
- 0
Marlin/SanityCheck.h View File

@@ -362,4 +362,8 @@
362 362
     #error "Z_LATE_ENABLE can't be used with COREXZ."
363 363
   #endif
364 364
 
365
+  #ifdef BEEPER
366
+    #error BEEPER has been replaced with BEEPER_PIN. Please update your pins definitions.
367
+  #endif
368
+
365 369
 #endif //SANITYCHECK_H

Loading…
Cancel
Save