Make pid_debug_flag match declaration in M303.cpp
Get it right this time!
This commit is contained in:
parent
a65198882f
commit
07c9dc4142
|
@ -823,7 +823,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
|
||||||
|
|
||||||
#if HOTENDS
|
#if HOTENDS
|
||||||
#if ENABLED(PID_DEBUG)
|
#if ENABLED(PID_DEBUG)
|
||||||
extern bool PID_debug_flag;
|
extern bool pid_debug_flag;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float Temperature::get_pid_output_hotend(const uint8_t E_NAME) {
|
float Temperature::get_pid_output_hotend(const uint8_t E_NAME) {
|
||||||
|
@ -906,7 +906,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
|
||||||
#endif // PID_OPENLOOP
|
#endif // PID_OPENLOOP
|
||||||
|
|
||||||
#if ENABLED(PID_DEBUG)
|
#if ENABLED(PID_DEBUG)
|
||||||
if (ee == active_extruder && PID_debug_flag) {
|
if (ee == active_extruder && pid_debug_flag) {
|
||||||
SERIAL_ECHO_START();
|
SERIAL_ECHO_START();
|
||||||
SERIAL_ECHOPAIR(STR_PID_DEBUG, ee, STR_PID_DEBUG_INPUT, temp_hotend[ee].celsius, STR_PID_DEBUG_OUTPUT, pid_output);
|
SERIAL_ECHOPAIR(STR_PID_DEBUG, ee, STR_PID_DEBUG_INPUT, temp_hotend[ee].celsius, STR_PID_DEBUG_OUTPUT, pid_output);
|
||||||
#if DISABLED(PID_OPENLOOP)
|
#if DISABLED(PID_OPENLOOP)
|
||||||
|
|
Loading…
Reference in a new issue