mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
No "Cooldown" menu if heaters are off
This commit is contained in:
parent
18ba31e9b5
commit
eb68715b94
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user