Sanity check SERIAL_PORT

Addressing #7400
This commit is contained in:
Scott Lahteine 2018-02-09 00:44:15 -06:00 committed by GitHub
parent 5a70887467
commit f64d300cfd
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,6 +281,10 @@
#error "SERIAL_XON_XOFF and SERIAL_STATS_* features not supported on USB-native AVR devices."
#endif
#if SERIAL_PORT > 7
#error "Set SERIAL_PORT to the port on your board. Usually this is 0."
#endif
/**
* Dual Stepper Drivers
*/