Browse Source

Fix no-bed compile error

Scott Lahteine 5 years ago
parent
commit
ad7a6e10a7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/menu/menu_temperature.cpp

+ 1
- 1
Marlin/src/lcd/menu/menu_temperature.cpp View File

284
     //
284
     //
285
     bool has_heat = false;
285
     bool has_heat = false;
286
     HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; }
286
     HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; }
287
-    #if HAS_TEMP_BED
287
+    #if HAS_HEATED_BED
288
       if (thermalManager.temp_bed.target) has_heat = true;
288
       if (thermalManager.temp_bed.target) has_heat = true;
289
     #endif
289
     #endif
290
     if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown);
290
     if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown);

Loading…
Cancel
Save