Avoid compiler warnings (redefined MOTHERBOARD) in Arduino 1.0 and greater.

This commit is contained in:
Johann Rocholl 2012-12-08 11:34:18 -08:00
parent 42e21bb06e
commit b1c38d4c82

View File

@ -1022,6 +1022,7 @@
* See http://reprap.org/wiki/Printrboard for more info * See http://reprap.org/wiki/Printrboard for more info
****************************************************************************************/ ****************************************************************************************/
#if MOTHERBOARD == 81 #if MOTHERBOARD == 81
#undef MOTHERBOARD
#define MOTHERBOARD 8 // Disable MarlinSerial etc. #define MOTHERBOARD 8 // Disable MarlinSerial etc.
#define KNOWN_BOARD 1 #define KNOWN_BOARD 1
@ -1155,6 +1156,7 @@
https://github.com/unrepentantgeek/brainwave-arduino https://github.com/unrepentantgeek/brainwave-arduino
****************************************************************************************/ ****************************************************************************************/
#if MOTHERBOARD == 82 #if MOTHERBOARD == 82
#undef MOTHERBOARD
#define MOTHERBOARD 8 // Disable MarlinSerial etc. #define MOTHERBOARD 8 // Disable MarlinSerial etc.
#define KNOWN_BOARD 1 #define KNOWN_BOARD 1