瀏覽代碼

Fix compile error with watch_bed_next_ms

Scott Lahteine 8 年之前
父節點
當前提交
dcb8ec32ee
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      Marlin/temperature.cpp
  2. 1
    1
      Marlin/temperature.h

+ 1
- 1
Marlin/temperature.cpp 查看文件

@@ -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 查看文件

@@ -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

Loading…
取消
儲存