Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h"
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
#ifndef CONDITIONALS_ADV_H
|
||||
#define CONDITIONALS_ADV_H
|
||||
|
||||
#if !defined(__AVR__) || !defined(USBCON)
|
||||
#ifndef 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, ...]
|
||||
|
@ -275,7 +275,7 @@
|
||||
/**
|
||||
* Serial
|
||||
*/
|
||||
#if !defined(__AVR__) || !defined(USBCON)
|
||||
#ifndef 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))
|
||||
@ -1308,7 +1308,7 @@ static_assert(1 >= 0
|
||||
/**
|
||||
* emergency-command parser
|
||||
*/
|
||||
#if ENABLED(EMERGENCY_PARSER) && defined(__AVR__) && defined(USBCON)
|
||||
#if ENABLED(EMERGENCY_PARSER) && defined(USBCON)
|
||||
#error "EMERGENCY_PARSER does not work on boards with AT90USB processors (USBCON)."
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user