From e944f960def5446afe3f6ad2371be34b42708276 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Thu, 30 Jul 2015 23:22:56 -0700
Subject: [PATCH] Add a sanity check for old name "BEEPER"

---
 Marlin/SanityCheck.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h
index 9e8b86c1f8..7bf1d6d4a7 100644
--- a/Marlin/SanityCheck.h
+++ b/Marlin/SanityCheck.h
@@ -362,4 +362,8 @@
     #error "Z_LATE_ENABLE can't be used with COREXZ."
   #endif
 
+  #ifdef BEEPER
+    #error BEEPER has been replaced with BEEPER_PIN. Please update your pins definitions.
+  #endif
+
 #endif //SANITYCHECK_H
-- 
GitLab