Browse Source

🐛 Fix CUSTOM_MENU_MAIN_SCRIPT_DONE

Fix #22762
vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
59ad93560e
  1. 4
      Marlin/src/lcd/menu/menu_main.cpp

4
Marlin/src/lcd/menu/menu_main.cpp

@ -118,8 +118,8 @@ void menu_configuration();
#define HAS_CUSTOM_ITEM_MAIN(N) (defined(MAIN_MENU_ITEM_##N##_DESC) && defined(MAIN_MENU_ITEM_##N##_GCODE))
#ifdef MAIN_MENU_ITEM_SCRIPT_DONE
#define _DONE_SCRIPT "\n" MAIN_MENU_ITEM_SCRIPT_DONE
#ifdef CUSTOM_MENU_MAIN_SCRIPT_DONE
#define _DONE_SCRIPT "\n" CUSTOM_MENU_MAIN_SCRIPT_DONE
#else
#define _DONE_SCRIPT ""
#endif

Loading…
Cancel
Save