Browse Source

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

pull/1/head
randellhodges 5 years ago
committed by Scott Lahteine
parent
commit
ebdf8b6b1a
  1. 2
      Marlin/src/core/serial.h

2
Marlin/src/core/serial.h

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