Quellcode durchsuchen

Fix pid_debug_flag

Scott Lahteine vor 5 Jahren
Ursprung
Commit
5e0958edbf
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      Marlin/src/module/temperature.cpp

+ 2
- 2
Marlin/src/module/temperature.cpp Datei anzeigen

@@ -831,7 +831,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
831 831
 
832 832
 #if HOTENDS
833 833
   #if ENABLED(PID_DEBUG)
834
-    extern bool PID_Debug_Flag;
834
+    extern bool pid_debug_flag;
835 835
   #endif
836 836
 
837 837
   float Temperature::get_pid_output_hotend(const uint8_t E_NAME) {
@@ -914,7 +914,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
914 914
       #endif // PID_OPENLOOP
915 915
 
916 916
       #if ENABLED(PID_DEBUG)
917
-        if (ee == active_extruder && PID_Debug_Flag) {
917
+        if (ee == active_extruder && pid_debug_flag) {
918 918
           SERIAL_ECHO_START();
919 919
           SERIAL_ECHOPAIR(STR_PID_DEBUG, ee, STR_PID_DEBUG_INPUT, temp_hotend[ee].celsius, STR_PID_DEBUG_OUTPUT, pid_output);
920 920
           #if DISABLED(PID_OPENLOOP)

Laden…
Abbrechen
Speichern