Update menu_configuration.cpp
Add custom menus to 'Configuration Menu'.
This commit is contained in:
parent
a349b25b65
commit
ba5a62a838
1 changed files with 12 additions and 0 deletions
|
|
@ -349,6 +349,10 @@ void menu_configuration() {
|
||||||
START_MENU();
|
START_MENU();
|
||||||
BACK_ITEM(MSG_MAIN);
|
BACK_ITEM(MSG_MAIN);
|
||||||
|
|
||||||
|
#if ENABLED(CUSTOM_MENUS_CONFIGURATION)
|
||||||
|
void custom_menus_configuration();
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Debug Menu when certain options are enabled
|
// Debug Menu when certain options are enabled
|
||||||
//
|
//
|
||||||
|
|
@ -356,6 +360,14 @@ void menu_configuration() {
|
||||||
SUBMENU(MSG_DEBUG_MENU, menu_debug);
|
SUBMENU(MSG_DEBUG_MENU, menu_debug);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(CUSTOM_MENUS_CONFIGURATION)
|
||||||
|
#ifdef CUSTOM_MENUS_CONFIGURATION_TITLE
|
||||||
|
SUBMENU_P(PSTR(CUSTOM_MENUS_CONFIGURATION_TITLE), custom_menus_configuration);
|
||||||
|
#else
|
||||||
|
SUBMENU(MSG_CUSTOM_MENUS_CONFIGURATION, custom_menus_configuration);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
SUBMENU(MSG_ADVANCED_SETTINGS, menu_advanced_settings);
|
SUBMENU(MSG_ADVANCED_SETTINGS, menu_advanced_settings);
|
||||||
|
|
||||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue