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

2.0.x
Johann Rocholl 12 years ago
parent 42e21bb06e
commit b1c38d4c82

@ -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

Loading…
Cancel
Save