SERIAL_STATS_* features not supported on USBCON targets (#9127)
This commit is contained in:
committed by
Scott Lahteine
parent
2db666e99a
commit
554e577676
@ -275,8 +275,8 @@
|
||||
#elif TX_BUFFER_SIZE && (TX_BUFFER_SIZE < 2 || TX_BUFFER_SIZE > 256 || !IS_POWER_OF_2(TX_BUFFER_SIZE))
|
||||
#error "TX_BUFFER_SIZE must be 0, a power of 2 greater than 1, and no greater than 256."
|
||||
#endif
|
||||
#elif ENABLED(SERIAL_XON_XOFF)
|
||||
#error "SERIAL_XON_XOFF is not supported on USB-native AVR devices."
|
||||
#elif ENABLED(SERIAL_XON_XOFF) || ENABLED(SERIAL_STATS_MAX_RX_QUEUED) || ENABLED(SERIAL_STATS_DROPPED_RX)
|
||||
#error "SERIAL_XON_XOFF and SERIAL_STATS_* features not supported on USB-native AVR devices."
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user