Display PID Autotune status (#18408)

This commit is contained in:
Pascal de Bruijn 2020-06-24 22:04:39 +02:00 committed by GitHub
parent 2a650a2793
commit c135db1ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@
#if HAS_PID_HEATING #if HAS_PID_HEATING
#include "../gcode.h" #include "../gcode.h"
#include "../../lcd/ultralcd.h"
#include "../../module/temperature.h" #include "../../module/temperature.h"
#if ENABLED(EXTENSIBLE_UI) #if ENABLED(EXTENSIBLE_UI)
@ -84,7 +85,9 @@ void GcodeSuite::M303() {
KEEPALIVE_STATE(NOT_BUSY); KEEPALIVE_STATE(NOT_BUSY);
#endif #endif
ui.set_status(GET_TEXT(MSG_PID_AUTOTUNE));
thermalManager.PID_autotune(temp, e, c, u); thermalManager.PID_autotune(temp, e, c, u);
ui.reset_status();
} }
#endif // HAS_PID_HEATING #endif // HAS_PID_HEATING