Fix STM32 flush of TX (used by UBL) (#16197)
This commit is contained in:
parent
59f9bb2120
commit
ebdf8b6b1a
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ extern uint8_t marlin_debug_flags;
|
|||
#define SERIAL_PRINTF(V...) SERIAL_OUT(printf, V)
|
||||
#define SERIAL_FLUSH() SERIAL_OUT(flush)
|
||||
|
||||
#ifdef __STM32F1__
|
||||
#ifdef ARDUINO_ARCH_STM32
|
||||
#define SERIAL_FLUSHTX() SERIAL_OUT(flush)
|
||||
#elif TX_BUFFER_SIZE > 0
|
||||
#define SERIAL_FLUSHTX() SERIAL_OUT(flushTX)
|
||||
|
|
Reference in a new issue