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

@@ -208,10 +208,7 @@
#define NEEDS_HARDWARE_PWM 1
#endif
#if defined(__AVR__) && defined(USBCON)
#define IS_AT90USB 1
#undef SERIAL_XON_XOFF // Not supported on USB-native devices
#else
#if !defined(__AVR__) || !defined(USBCON)
// Define constants and variables for buffering serial data.
// Use only 0 or powers of 2 greater than 1
// : [0, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, ...]
@@ -223,6 +220,9 @@
#ifndef TX_BUFFER_SIZE
#define TX_BUFFER_SIZE 32
#endif
#else
// SERIAL_XON_XOFF not supported on USB-native devices
#undef SERIAL_XON_XOFF
#endif
#if ENABLED(HOST_ACTION_COMMANDS)