Browse Source

Fix SERIAL_PORT_2 sanity check

pull/1/head
Scott Lahteine 6 years ago
parent
commit
e2ab78d876
  1. 2
      Marlin/src/inc/SanityCheck.h

2
Marlin/src/inc/SanityCheck.h

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

Loading…
Cancel
Save