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:
parent
ae1815dc52
commit
8bb451129d
1 changed files with 2 additions and 4 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue