Skip to content

Commit

Permalink
Fix STM32 flush of TX (used by UBL) (MarlinFirmware#16197)
Browse files Browse the repository at this point in the history
randellhodges authored and thinkyhead committed Dec 22, 2019
1 parent 59f9bb2 commit ebdf8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/core/serial.h
Original file line number Diff line number Diff line change
@@ -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 comments on commit ebdf8b6

Please sign in to comment.