Ver código fonte

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

Johann Rocholl 12 anos atrás
pai
commit
b1c38d4c82
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      Marlin/pins.h

+ 2
- 0
Marlin/pins.h Ver arquivo

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

Carregando…
Cancelar
Salvar