diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 0c1d97e..497231c 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -8551,6 +8551,10 @@ inline void gcode_M109() { #if DISABLED(BUSY_WHILE_HEATING) KEEPALIVE_STATE(IN_HANDLER); #endif + + // flush the serial buffer after heating to prevent lockup by m105 + flush_and_request_resend(); + } #if HAS_HEATED_BED