Add an empty flushTX to MarlinSerialUSB_Due

This commit is contained in:
Scott Lahteine 2019-02-25 13:47:55 -06:00
parent 38363902c7
commit 833c2e54a1
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -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);