Sanity check for SERIAL_PORT

Addressing #7400
This commit is contained in:
Scott Lahteine 2018-02-09 00:41:39 -06:00 committed by GitHub
parent 4300547c66
commit ad323d852e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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