✨ TFT Screen/Backlight Sleep (#22617)
This commit is contained in:
committed by
Scott Lahteine
parent
033043218e
commit
224371dfc6
@ -47,6 +47,7 @@
|
||||
|
||||
void MarlinUI::tft_idle() {
|
||||
#if ENABLED(TOUCH_SCREEN)
|
||||
if (TERN0(HAS_TOUCH_SLEEP, lcd_sleep_task())) return;
|
||||
if (draw_menu_navigation) {
|
||||
add_control(48, 206, PAGE_UP, imgPageUp, encoderTopLine > 0);
|
||||
add_control(240, 206, PAGE_DOWN, imgPageDown, encoderTopLine + LCD_HEIGHT < screen_items);
|
||||
|
Reference in New Issue
Block a user