No "Cooldown" menu if heaters are off
This commit is contained in:
1 parent
18ba31e9b5
commit
eb68715b94
1 file changed
+6
-1
+6
-1
@@ -1390,7 +1390,12 @@ KeepDrawing:
|
|||||||
//
|
//
|
||||||
// Cooldown
|
// 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
|
// BLTouch Self-Test and Reset
|
||||||
|
|||||||
Reference in new issue
Block a user