Fix SERIAL_PORT_2 sanity check

2.0.x
Scott Lahteine 6 years ago
parent a644d8cb93
commit e2ab78d876

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