Pascal de Bruijn
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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
|
|
|
|