File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Marlin/src/lcd/dwin/creality Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -756,10 +756,12 @@ void drawPrepareMenu() {
756756 if (PVISI (PREPARE_CASE_ZOFF)) itemPrepareOffset (PSCROL (PREPARE_CASE_ZOFF)); // Edit Z-Offset / Babystep / Set Home Offset
757757 #endif
758758 #if HAS_PREHEAT
759- if (PVISI (PREPARE_CASE_PLA)) itemPrepare_PLA (PSCROL (PREPARE_CASE_PLA)); // Preheat PLA
759+ if (PVISI (PREPARE_CASE_PLA)) itemPrepare_PLA (PSCROL (PREPARE_CASE_PLA)); // Preheat PLA
760760 #if PREHEAT_COUNT > 1
761- if (PVISI (PREPARE_CASE_ABS)) itemPrepare_ABS (PSCROL (PREPARE_CASE_ABS)); // Preheat ABS
761+ if (PVISI (PREPARE_CASE_ABS)) itemPrepare_ABS (PSCROL (PREPARE_CASE_ABS)); // Preheat ABS
762762 #endif
763+ #endif
764+ #if ANY(HAS_HOTEND, HAS_HEATED_BED)
763765 if (PVISI (PREPARE_CASE_COOL)) itemPrepareCool (PSCROL (PREPARE_CASE_COOL)); // Cooldown
764766 #endif
765767 if (PVISI (PREPARE_CASE_LANG)) itemPrepareLang (PSCROL (PREPARE_CASE_LANG)); // Language CN/EN
@@ -2686,6 +2688,8 @@ void hmiPrepare() {
26862688 #if PREHEAT_COUNT > 1
26872689 if (index_prepare == PREPARE_CASE_ABS) itemPrepare_ABS (MROWS);
26882690 #endif
2691+ #endif
2692+ #if ANY(HAS_HOTEND, HAS_HEATED_BED)
26892693 if (index_prepare == PREPARE_CASE_COOL) itemPrepareCool (MROWS);
26902694 #endif
26912695 if (index_prepare == PREPARE_CASE_LANG) itemPrepareLang (MROWS);
@@ -2769,7 +2773,7 @@ void hmiPrepare() {
27692773 #endif
27702774 #endif
27712775
2772- #if HAS_HOTEND || HAS_HEATED_BED
2776+ #if ANY( HAS_HOTEND, HAS_HEATED_BED)
27732777 case PREPARE_CASE_COOL:
27742778 thermalManager.cooldown ();
27752779 ui.reset_status ();
You can’t perform that action at this time.
0 commit comments