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
  • Loading branch information
randellhodges authored and griehsler committed Jan 30, 2020
1 parent e016cfb commit 5aef294
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
Expand Up @@ -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)
Expand Down

0 comments on commit 5aef294

Please sign in to comment.