Skip to content

Commit e3a28af

Browse files
committed
🩹 Fix AboutScreen::onTouchEnd warning
1 parent ef9cec9 commit e3a28af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/about_screen.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,17 @@ void AboutScreen::onRedraw(draw_mode_t) {
9292
}
9393

9494
bool AboutScreen::onTouchEnd(uint8_t tag) {
95-
switch(tag) {
95+
switch (tag) {
9696
default: return false;
9797
#if ALL(PRINTCOUNTER, FTDI_STATISTICS_SCREEN)
9898
case 1: GOTO_SCREEN(StatisticsScreen); break;
9999
#endif
100-
case 2: GOTO_PREVIOUS(); return true;
100+
case 2: GOTO_PREVIOUS(); break;
101101
#if ALL(TOUCH_UI_DEVELOPER_MENU, FTDI_DEVELOPER_MENU)
102102
case 3: GOTO_SCREEN(DeveloperMenu); break;
103103
#endif
104104
}
105+
return true;
105106
}
106107

107108
#endif // EXTENSIBLE_UI

0 commit comments

Comments
 (0)