From c135db1ce7b8274a014cf9108f569b6cb442aaaf Mon Sep 17 00:00:00 2001 From: Pascal de Bruijn Date: Wed, 24 Jun 2020 22:04:39 +0200 Subject: [PATCH] Display PID Autotune status (#18408) --- Marlin/src/gcode/temp/M303.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/src/gcode/temp/M303.cpp b/Marlin/src/gcode/temp/M303.cpp index ab1781f3f5..7e049436bb 100644 --- a/Marlin/src/gcode/temp/M303.cpp +++ b/Marlin/src/gcode/temp/M303.cpp @@ -25,6 +25,7 @@ #if HAS_PID_HEATING #include "../gcode.h" +#include "../../lcd/ultralcd.h" #include "../../module/temperature.h" #if ENABLED(EXTENSIBLE_UI) @@ -84,7 +85,9 @@ void GcodeSuite::M303() { KEEPALIVE_STATE(NOT_BUSY); #endif + ui.set_status(GET_TEXT(MSG_PID_AUTOTUNE)); thermalManager.PID_autotune(temp, e, c, u); + ui.reset_status(); } #endif // HAS_PID_HEATING