Skip to content

Commit

Permalink
Display PID Autotune status (#18408)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmjdebruijn authored Jun 24, 2020
1 parent 2a650a2 commit c135db1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Marlin/src/gcode/temp/M303.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#if HAS_PID_HEATING

#include "../gcode.h"
#include "../../lcd/ultralcd.h"
#include "../../module/temperature.h"

#if ENABLED(EXTENSIBLE_UI)
Expand Down Expand Up @@ -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

0 comments on commit c135db1

Please sign in to comment.