🚸 Move Debug menu down (#26266)
This commit is contained in:
committed by
GitHub
parent
050439ccba
commit
cb8df74a9c
@@ -547,13 +547,6 @@ void menu_configuration() {
|
|||||||
START_MENU();
|
START_MENU();
|
||||||
BACK_ITEM(MSG_MAIN_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 ENABLED(CUSTOM_MENU_CONFIG)
|
||||||
if (TERN1(CUSTOM_MENU_CONFIG_ONLY_IDLE, !busy)) {
|
if (TERN1(CUSTOM_MENU_CONFIG_ONLY_IDLE, !busy)) {
|
||||||
#ifdef CUSTOM_MENU_CONFIG_TITLE
|
#ifdef CUSTOM_MENU_CONFIG_TITLE
|
||||||
@@ -657,6 +650,12 @@ void menu_configuration() {
|
|||||||
EDIT_ITEM(bool, MSG_SOUND, &ui.sound_on, []{ ui.chirp(); });
|
EDIT_ITEM(bool, MSG_SOUND, &ui.sound_on, []{ ui.chirp(); });
|
||||||
#endif
|
#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)
|
#if ENABLED(EEPROM_SETTINGS)
|
||||||
ACTION_ITEM(MSG_STORE_EEPROM, ui.store_settings);
|
ACTION_ITEM(MSG_STORE_EEPROM, ui.store_settings);
|
||||||
if (!busy) ACTION_ITEM(MSG_LOAD_EEPROM, ui.load_settings);
|
if (!busy) ACTION_ITEM(MSG_LOAD_EEPROM, ui.load_settings);
|
||||||
|
Reference in New Issue
Block a user