Browse Source

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

Johann Rocholl 12 years ago
parent
commit
b1c38d4c82
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/pins.h

+ 2
- 0
Marlin/pins.h View File

1022
 * See http://reprap.org/wiki/Printrboard for more info
1022
 * See http://reprap.org/wiki/Printrboard for more info
1023
 ****************************************************************************************/
1023
 ****************************************************************************************/
1024
 #if MOTHERBOARD == 81
1024
 #if MOTHERBOARD == 81
1025
+#undef MOTHERBOARD
1025
 #define MOTHERBOARD 8  // Disable MarlinSerial etc.
1026
 #define MOTHERBOARD 8  // Disable MarlinSerial etc.
1026
 #define KNOWN_BOARD 1
1027
 #define KNOWN_BOARD 1
1027
 
1028
 
1155
    https://github.com/unrepentantgeek/brainwave-arduino
1156
    https://github.com/unrepentantgeek/brainwave-arduino
1156
  ****************************************************************************************/
1157
  ****************************************************************************************/
1157
 #if MOTHERBOARD == 82
1158
 #if MOTHERBOARD == 82
1159
+#undef MOTHERBOARD
1158
 #define MOTHERBOARD 8  // Disable MarlinSerial etc.
1160
 #define MOTHERBOARD 8  // Disable MarlinSerial etc.
1159
 #define KNOWN_BOARD 1
1161
 #define KNOWN_BOARD 1
1160
 
1162
 

Loading…
Cancel
Save