Browse Source

Make declaration of PID_debug_flag match M303.cpp

Roxy-3D 5 years ago
parent
commit
a65198882f
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/temperature.cpp

+ 2
- 2
Marlin/src/module/temperature.cpp View File

@@ -823,7 +823,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
823 823
 
824 824
 #if HOTENDS
825 825
   #if ENABLED(PID_DEBUG)
826
-    extern bool PID_Debug_Flag;
826
+    extern bool PID_debug_flag;
827 827
   #endif
828 828
 
829 829
   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) {
906 906
       #endif // PID_OPENLOOP
907 907
 
908 908
       #if ENABLED(PID_DEBUG)
909
-        if (ee == active_extruder && PID_Debug_Flag) {
909
+        if (ee == active_extruder && PID_debug_flag) {
910 910
           SERIAL_ECHO_START();
911 911
           SERIAL_ECHOPAIR(STR_PID_DEBUG, ee, STR_PID_DEBUG_INPUT, temp_hotend[ee].celsius, STR_PID_DEBUG_OUTPUT, pid_output);
912 912
           #if DISABLED(PID_OPENLOOP)

Loading…
Cancel
Save