Browse Source

Display PID Autotune status (#18408)

vanilla_fb_2.0.x
Pascal de Bruijn 5 years ago
committed by GitHub
parent
commit
c135db1ce7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/gcode/temp/M303.cpp

3
Marlin/src/gcode/temp/M303.cpp

@ -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

Loading…
Cancel
Save