Fix STM32 flush of TX (used by UBL) (#16197)

2.0.x
randellhodges 5 years ago committed by Scott Lahteine
parent 59f9bb2120
commit ebdf8b6b1a

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

Loading…
Cancel
Save