Browse Source

Fix no-bed compile error

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
ad7a6e10a7
  1. 2
      Marlin/src/lcd/menu/menu_temperature.cpp

2
Marlin/src/lcd/menu/menu_temperature.cpp

@ -284,7 +284,7 @@ void menu_temperature() {
// //
bool has_heat = false; bool has_heat = false;
HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; } HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; }
#if HAS_TEMP_BED #if HAS_HEATED_BED
if (thermalManager.temp_bed.target) has_heat = true; if (thermalManager.temp_bed.target) has_heat = true;
#endif #endif
if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown); if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown);

Loading…
Cancel
Save