Quellcode durchsuchen

Fix compile error with watch_bed_next_ms

Scott Lahteine vor 8 Jahren
Ursprung
Commit
dcb8ec32ee
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1
    1
      Marlin/temperature.cpp
  2. 1
    1
      Marlin/temperature.h

+ 1
- 1
Marlin/temperature.cpp Datei anzeigen

@@ -101,7 +101,7 @@ unsigned char Temperature::soft_pwm_bed;
101 101
   millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
102 102
 #endif
103 103
 
104
-#if ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_BED_TEMP_PERIOD > 0
104
+#if ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0
105 105
   int Temperature::watch_target_bed_temp = 0;
106 106
   millis_t Temperature::watch_bed_next_ms = 0;
107 107
 #endif

+ 1
- 1
Marlin/temperature.h Datei anzeigen

@@ -105,7 +105,7 @@ class Temperature {
105 105
       static millis_t watch_heater_next_ms[HOTENDS];
106 106
     #endif
107 107
 
108
-    #if ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_BED_TEMP_PERIOD > 0
108
+    #if ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0
109 109
       static int watch_target_bed_temp;
110 110
       static millis_t watch_bed_next_ms;
111 111
     #endif

Laden…
Abbrechen
Speichern