Skip to content
Snippets Groups Projects
Commit ebdf8b6b authored by randellhodges's avatar randellhodges Committed by Scott Lahteine
Browse files

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

parent 59f9bb21
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment