From b1c38d4c82cff9ee75e8eec90f102d83cbad0023 Mon Sep 17 00:00:00 2001 From: Johann Rocholl Date: Sat, 8 Dec 2012 11:34:18 -0800 Subject: [PATCH] Avoid compiler warnings (redefined MOTHERBOARD) in Arduino 1.0 and greater. --- Marlin/pins.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/pins.h b/Marlin/pins.h index f61f534d0..ce1524815 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -1022,6 +1022,7 @@ * See http://reprap.org/wiki/Printrboard for more info ****************************************************************************************/ #if MOTHERBOARD == 81 +#undef MOTHERBOARD #define MOTHERBOARD 8 // Disable MarlinSerial etc. #define KNOWN_BOARD 1 @@ -1155,6 +1156,7 @@ https://github.com/unrepentantgeek/brainwave-arduino ****************************************************************************************/ #if MOTHERBOARD == 82 +#undef MOTHERBOARD #define MOTHERBOARD 8 // Disable MarlinSerial etc. #define KNOWN_BOARD 1