|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
#define BYTE 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef AT90USB
|
|
|
|
|
#ifndef USBCON
|
|
|
|
|
// Define constants and variables for buffering incoming serial data. We're
|
|
|
|
|
// using a ring buffer (I think), in which rx_buffer_head is the index of the
|
|
|
|
|
// location to which to write the next incoming character and rx_buffer_tail
|
|
|
|
@ -150,10 +150,10 @@ class MarlinSerial { //: public Stream
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern MarlinSerial MSerial;
|
|
|
|
|
#endif // !AT90USB
|
|
|
|
|
#endif // !USBCON
|
|
|
|
|
|
|
|
|
|
// Use the UART for BT in AT90USB configurations
|
|
|
|
|
#if defined(AT90USB) && defined(BTENABLED)
|
|
|
|
|
#if defined(USBCON) && defined(BTENABLED)
|
|
|
|
|
extern HardwareSerial bt;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|