Remove compiler bug workaround

These lines had to be done like that because gcc 5.4.0 would throw a segmentation fault when linking. With gcc 7.3.0, this is no longer an issue
This commit is contained in:
Alex Voinea 2022-07-03 21:44:54 +02:00
parent ae1815dc52
commit 8bb451129d

View file

@ -367,8 +367,7 @@ uint8_t menu_item_sddir(const char* str_fn, char* str_fnl)
lcd_update_enabled = false;
menu_action_sddirectory(str_fn);
lcd_update_enabled = true;
/* return */ menu_item_ret();
return 1;
return menu_item_ret();
}
}
menu_item++;
@ -390,8 +389,7 @@ static uint8_t menu_item_sdfile(const char* str_fn, char* str_fnl)
lcd_update_enabled = false;
menu_action_sdfile(str_fn);
lcd_update_enabled = true;
/* return */ menu_item_ret();
return 1;
return menu_item_ret();
}
}
menu_item++;