No "Cooldown" menu if heaters are off

2.0.x
Scott Lahteine 8 years ago
parent 18ba31e9b5
commit eb68715b94

@ -1390,7 +1390,12 @@ KeepDrawing:
//
// Cooldown
//
MENU_ITEM(function, MSG_COOLDOWN, lcd_cooldown);
bool has_heat = false;
HOTEND_LOOP() if (thermalManager.target_temperature[e]) { has_heat = true; break; }
#if HAS_TEMP_BED
if (thermalManager.target_temperature_bed) has_heat = true;
#endif
if (has_heat) MENU_ITEM(function, MSG_COOLDOWN, lcd_cooldown);
//
// BLTouch Self-Test and Reset

Loading…
Cancel
Save