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