Rename LCD conditionals (#19533)
This commit is contained in:
@@ -99,7 +99,7 @@ class MenuItem_sdfolder : public MenuItem_sdbase {
|
||||
encoderTopLine = 0;
|
||||
ui.encoderPosition = 2 * (ENCODER_STEPS_PER_MENU_ITEM);
|
||||
ui.screen_changed = true;
|
||||
TERN_(HAS_GRAPHICAL_LCD, ui.drawing_screen = false);
|
||||
TERN_(HAS_MARLINUI_U8GLIB, ui.drawing_screen = false);
|
||||
ui.refresh();
|
||||
}
|
||||
};
|
||||
@@ -107,7 +107,7 @@ class MenuItem_sdfolder : public MenuItem_sdbase {
|
||||
void menu_media() {
|
||||
ui.encoder_direction_menus();
|
||||
|
||||
#if HAS_GRAPHICAL_LCD
|
||||
#if HAS_MARLINUI_U8GLIB
|
||||
static uint16_t fileCnt;
|
||||
if (ui.first_page) fileCnt = card.get_num_Files();
|
||||
#else
|
||||
|
Reference in New Issue
Block a user