🐛 Fix ExtUI 'lcd_clicked' definition (#22257)

This commit is contained in:
Katelyn Schiesser 2021-06-29 10:30:55 -07:00 committed by Scott Lahteine
parent b1c5dd985e
commit aa13c78458

View file

@ -120,6 +120,10 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
} }
#endif #endif
#if EITHER(HAS_LCD_MENU, EXTENSIBLE_UI)
bool MarlinUI::lcd_clicked;
#endif
#if HAS_WIRED_LCD #if HAS_WIRED_LCD
#if HAS_MARLINUI_U8GLIB #if HAS_MARLINUI_U8GLIB
@ -224,10 +228,6 @@ millis_t MarlinUI::next_button_update_ms; // = 0
#endif #endif
#if EITHER(HAS_LCD_MENU, EXTENSIBLE_UI)
bool MarlinUI::lcd_clicked;
#endif
#if HAS_LCD_MENU #if HAS_LCD_MENU
#include "menu/menu.h" #include "menu/menu.h"