From 57c149e7b5c56e0201991391d96a1ff55d7b11ea Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Wed, 4 Mar 2020 21:01:08 +0200 Subject: [PATCH] Comment cleanup --- Firmware/ultralcd.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index e94b4f6a..e0992110 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -363,19 +363,9 @@ uint8_t menu_item_sddir(const char* str_fn, char* str_fnl) { if (menu_item == menu_line) { - if (lcd_draw_update/* || !lcd_scrollTimer.running() */) + if (lcd_draw_update) { -/* if (lcd_encoder == menu_item && !lcd_scrollTimer.running()) - { - // lcd_beeper_quick_feedback(); - _menu_data_sdcard_t* _md = (_menu_data_sdcard_t*)&(menu_data[0]); - _md->isDir = 1; - _md->row = menu_row; - _md->scrollPointer = (str_fnl[0] == '\0') ? str_fn : str_fnl; - menu_submenu_scroll(lcd_filename_scroll); - return 1; //stop menu generation early - } - else */lcd_implementation_drawmenu_sddirectory(menu_row, (str_fnl[0] == '\0') ? str_fn : str_fnl); + lcd_implementation_drawmenu_sddirectory(menu_row, (str_fnl[0] == '\0') ? str_fn : str_fnl); } if (menu_clicked && (lcd_encoder == menu_item)) {