From e3a28afd5100c3bcd430db992e8a446ef4f40956 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 23 Apr 2025 15:08:57 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20AboutScreen::onTouchEnd=20?= =?UTF-8?q?warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp index 065f89adef..eac6e646e6 100644 --- a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp +++ b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp @@ -92,16 +92,17 @@ void AboutScreen::onRedraw(draw_mode_t) { } bool AboutScreen::onTouchEnd(uint8_t tag) { - switch(tag) { + switch (tag) { default: return false; #if ALL(PRINTCOUNTER, FTDI_STATISTICS_SCREEN) case 1: GOTO_SCREEN(StatisticsScreen); break; #endif - case 2: GOTO_PREVIOUS(); return true; + case 2: GOTO_PREVIOUS(); break; #if ALL(TOUCH_UI_DEVELOPER_MENU, FTDI_DEVELOPER_MENU) case 3: GOTO_SCREEN(DeveloperMenu); break; #endif } + return true; } #endif // EXTENSIBLE_UI