Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move "debug" menu item to the end of the list #26266

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions Marlin/src/lcd/menu/menu_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,6 @@ void menu_configuration() {
START_MENU();
BACK_ITEM(MSG_MAIN_MENU);

//
// Debug Menu when certain options are enabled
//
#if HAS_DEBUG_MENU
SUBMENU(MSG_DEBUG_MENU, menu_debug);
#endif

#if ENABLED(CUSTOM_MENU_CONFIG)
if (TERN1(CUSTOM_MENU_CONFIG_ONLY_IDLE, !busy)) {
#ifdef CUSTOM_MENU_CONFIG_TITLE
Expand Down Expand Up @@ -650,6 +643,12 @@ void menu_configuration() {
EDIT_ITEM(bool, MSG_SOUND, &ui.sound_on, []{ ui.chirp(); });
#endif

// Debug Menu when certain options are enabled
// Note: it is at the end of the list, so a more commonly used items should be placed above
#if HAS_DEBUG_MENU
SUBMENU(MSG_DEBUG_MENU, menu_debug);
#endif

#if ENABLED(EEPROM_SETTINGS)
ACTION_ITEM(MSG_STORE_EEPROM, ui.store_settings);
if (!busy) ACTION_ITEM(MSG_LOAD_EEPROM, ui.load_settings);
Expand Down
Loading