Skip to content

Commit

Permalink
Fix pid_debug_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 11, 2020
1 parent 5513e67 commit 5e0958e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {

#if HOTENDS
#if ENABLED(PID_DEBUG)
extern bool PID_Debug_Flag;
extern bool pid_debug_flag;
#endif

float Temperature::get_pid_output_hotend(const uint8_t E_NAME) {
Expand Down Expand Up @@ -914,7 +914,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
#endif // PID_OPENLOOP

#if ENABLED(PID_DEBUG)
if (ee == active_extruder && PID_Debug_Flag) {
if (ee == active_extruder && pid_debug_flag) {
SERIAL_ECHO_START();
SERIAL_ECHOPAIR(STR_PID_DEBUG, ee, STR_PID_DEBUG_INPUT, temp_hotend[ee].celsius, STR_PID_DEBUG_OUTPUT, pid_output);
#if DISABLED(PID_OPENLOOP)
Expand Down

0 comments on commit 5e0958e

Please sign in to comment.