mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
🩹 Fix ProUI compile without Advanced Pause
This commit is contained in:
parent
6f8178598f
commit
2a82ca87b0
1 changed files with 14 additions and 12 deletions
|
@ -3437,20 +3437,22 @@ void drawMotionMenu() {
|
|||
updateMenu(motionMenu);
|
||||
}
|
||||
|
||||
#if HAS_PREHEAT
|
||||
void drawPreheatHotendMenu() {
|
||||
checkkey = ID_Menu;
|
||||
if (SET_MENU(preheatHotendMenu, MSG_PREHEAT_HOTEND, 1 + PREHEAT_COUNT)) {
|
||||
BACK_ITEM(drawFilamentManMenu);
|
||||
#define _ITEM_PREHEAT_HE(N) MENU_ITEM(ICON_Preheat##N, MSG_PREHEAT_##N, onDrawMenuItem, DoPreheatHotend##N);
|
||||
REPEAT_1(PREHEAT_COUNT, _ITEM_PREHEAT_HE)
|
||||
}
|
||||
updateMenu(preheatHotendMenu);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
#if HAS_PREHEAT
|
||||
|
||||
void drawPreheatHotendMenu() {
|
||||
checkkey = ID_Menu;
|
||||
if (SET_MENU(preheatHotendMenu, MSG_PREHEAT_HOTEND, 1 + PREHEAT_COUNT)) {
|
||||
BACK_ITEM(drawFilamentManMenu);
|
||||
#define _ITEM_PREHEAT_HE(N) MENU_ITEM(ICON_Preheat##N, MSG_PREHEAT_##N, onDrawMenuItem, DoPreheatHotend##N);
|
||||
REPEAT_1(PREHEAT_COUNT, _ITEM_PREHEAT_HE)
|
||||
}
|
||||
updateMenu(preheatHotendMenu);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void drawFilamentManMenu() {
|
||||
checkkey = ID_Menu;
|
||||
if (SET_MENU(filamentMenu, MSG_FILAMENT_MAN, 6)) {
|
||||
|
|
Loading…
Reference in a new issue