Skip to content

Commit 59ad935

Browse files
committed
🐛 Fix CUSTOM_MENU_MAIN_SCRIPT_DONE
Fix #22762
1 parent 50e52c0 commit 59ad935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/lcd/menu/menu_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ void menu_configuration();
118118

119119
#define HAS_CUSTOM_ITEM_MAIN(N) (defined(MAIN_MENU_ITEM_##N##_DESC) && defined(MAIN_MENU_ITEM_##N##_GCODE))
120120

121-
#ifdef MAIN_MENU_ITEM_SCRIPT_DONE
122-
#define _DONE_SCRIPT "\n" MAIN_MENU_ITEM_SCRIPT_DONE
121+
#ifdef CUSTOM_MENU_MAIN_SCRIPT_DONE
122+
#define _DONE_SCRIPT "\n" CUSTOM_MENU_MAIN_SCRIPT_DONE
123123
#else
124124
#define _DONE_SCRIPT ""
125125
#endif

0 commit comments

Comments
 (0)