Disable SERIAL_PORT_2 by default and sanity-check it (#10748)

This commit is contained in:
Scott Lahteine
2018-05-14 21:38:24 -05:00
committed by GitHub
parent 3f6073e23a
commit b7dfc79988
69 changed files with 72 additions and 68 deletions

View File

@ -323,6 +323,10 @@
#error "Set SERIAL_PORT to the port on your board. Usually this is 0."
#endif
#if SERIAL_PORT_2 && NUM_SERIAL < 2
#error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."
#endif
/**
* Dual Stepper Drivers
*/