Add an empty flushTX to MarlinSerialUSB_Due

2.0.x
Scott Lahteine 6 years ago
parent 38363902c7
commit 833c2e54a1

@ -114,8 +114,8 @@ bool MarlinSerialUSB::available(void) {
(usb_task_cdc_isenabled() && udi_cdc_is_rx_ready()); (usb_task_cdc_isenabled() && udi_cdc_is_rx_ready());
} }
void MarlinSerialUSB::flush(void) { void MarlinSerialUSB::flush(void) { }
} void MarlinSerialUSB::flushTX(void) { }
void MarlinSerialUSB::write(const uint8_t c) { void MarlinSerialUSB::write(const uint8_t c) {

@ -46,6 +46,7 @@ public:
static int peek(void); static int peek(void);
static int read(void); static int read(void);
static void flush(void); static void flush(void);
static void flushTX(void);
static bool available(void); static bool available(void);
static void write(const uint8_t c); static void write(const uint8_t c);

Loading…
Cancel
Save