From 080c44cb2e59efba285ff77da669f1892057fb62 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Thu, 4 Feb 2021 16:37:24 +0200 Subject: [PATCH] Undo stupid hack for an error because of some compiler issue in the past --- Firmware/ultralcd.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 02f66da0..04ca97c7 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -395,10 +395,9 @@ static uint8_t menu_item_sdfile(const char* str_fn, char* str_fnl) } if (menu_clicked && (lcd_encoder == menu_item)) { - lcd_consume_click(); + lcd_consume_click(); menu_action_sdfile(str_fn); - /* return */ menu_item_ret(); - return 1; + return menu_item_ret(); } } menu_item++;