Ver código fonte

Fix SERIAL_PORT_2 sanity check

Scott Lahteine 6 anos atrás
pai
commit
e2ab78d876
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h Ver arquivo

@@ -365,7 +365,7 @@
365 365
   #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
366 366
 #endif
367 367
 
368
-#if SERIAL_PORT_2 && NUM_SERIAL < 2
368
+#if defined(SERIAL_PORT_2) && NUM_SERIAL < 2
369 369
   #error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."
370 370
 #endif
371 371
 

Carregando…
Cancelar
Salvar