From a7f334387c98a0209433d98c44269fdb0356ab54 Mon Sep 17 00:00:00 2001 From: Victor Oliveira Date: Sat, 10 Oct 2020 01:35:41 -0300 Subject: [PATCH] Keep HAL tasks running during PID Autotune (#19671) --- Marlin/src/module/temperature.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Marlin/src/module/temperature.cpp b/Marlin/src/module/temperature.cpp index f58914089..377517bf5 100644 --- a/Marlin/src/module/temperature.cpp +++ b/Marlin/src/module/temperature.cpp @@ -629,6 +629,11 @@ volatile bool Temperature::raw_temps_ready = false; goto EXIT_M303; } + + // Run HAL idle tasks + TERN_(HAL_IDLETASK, HAL_idletask()); + + // Run UI update TERN(DWIN_CREALITY_LCD, DWIN_Update(), ui.update()); } wait_for_heatup = false;