Revert at90usb1286 conditional (#19733)

This commit is contained in:
Jason Smith
2020-10-14 11:48:46 -07:00
committed by GitHub
parent 79d51581ba
commit 90d364fc37
7 changed files with 16 additions and 16 deletions

View File

@ -582,7 +582,7 @@
/**
* Serial
*/
#if !IS_AT90USB
#if !(defined(__AVR__) && defined(USBCON))
#if ENABLED(SERIAL_XON_XOFF) && RX_BUFFER_SIZE < 1024
#error "SERIAL_XON_XOFF requires RX_BUFFER_SIZE >= 1024 for reliable transfers without drops."
#elif RX_BUFFER_SIZE && (RX_BUFFER_SIZE < 2 || !IS_POWER_OF_2(RX_BUFFER_SIZE))
@ -2108,9 +2108,9 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
#endif
/**
* Emergency Command Parser
* emergency-command parser
*/
#if BOTH(IS_AT90USB, EMERGENCY_PARSER)
#if ENABLED(EMERGENCY_PARSER) && defined(__AVR__) && defined(USBCON)
#error "EMERGENCY_PARSER does not work on boards with AT90USB processors (USBCON)."
#endif