Add an empty flushTX to MarlinSerialUSB_Due
This commit is contained in:
parent
38363902c7
commit
833c2e54a1
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue