[1.1.x] SERIAL_XON_XOFF not supported on USB-native AVR devices (#8653)

* SERIAL_XON_XOFF not supported on USB-native AVR devices

User could enable SERIAL_XON_XOFF on USB-native devices and it would not be enabled without warning, but M115 would report the capability as available.
This commit is contained in:
Dave Johnson 2017-12-04 14:48:19 -08:00 committed by Scott Lahteine
parent 3abd307691
commit 860d98a897
2 changed files with 21 additions and 15 deletions

View file

@ -245,6 +245,13 @@
#error "WEBSITE_URL must be specified."
#endif
/**
* Serial
*/
#if defined(USBCON) && ENABLED(SERIAL_XON_XOFF)
#error "SERIAL_XON_XOFF is not supported on USB-native AVR devices."
#endif
/**
* Dual Stepper Drivers
*/