Skip to content

Commit

Permalink
clean clone
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 31, 2022
1 parent 33e3809 commit 9757813
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Marlin/src/lcd/menu/menu_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ void menu_configuration();
#endif

void menu_main() {
#if ENABLED(SDSUPPORT) && !defined(MEDIA_MENU_AT_TOP) && !HAS_ENCODER_WHEEL
#define MEDIA_MENU_AT_TOP
#endif

const bool busy = printingIsActive()
#if ENABLED(SDSUPPORT)
, card_detected = card.isMounted()
Expand All @@ -247,6 +243,12 @@ void menu_main() {
START_MENU();
BACK_ITEM(MSG_INFO_SCREEN);

#if ENABLED(SDSUPPORT)
#if !defined(MEDIA_MENU_AT_TOP) && !HAS_ENCODER_WHEEL
#define MEDIA_MENU_AT_TOP
#endif
#endif

if (busy) {
#if MACHINE_CAN_PAUSE
ACTION_ITEM(MSG_PAUSE_PRINT, ui.pause_print);
Expand Down

0 comments on commit 9757813

Please sign in to comment.