Fix SERIAL_PORT_2 sanity check

This commit is contained in:
Scott Lahteine 2018-09-28 16:12:19 -05:00
parent a644d8cb93
commit e2ab78d876

View file

@ -365,7 +365,7 @@
#error "Set SERIAL_PORT to the port on your board. Usually this is 0."
#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."
#endif