UI: Fix warning

replace/8ef49f5e4c36b74e0af7bd197ad13d3f07866f3c
Federico Amedeo Izzo 2021-01-29 22:59:38 +01:00
rodzic 450c965ee0
commit 12d58139e4
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -96,7 +96,7 @@ extern void _ui_drawMenuSettings(ui_state_t* ui_state);
extern void _ui_drawSettingsTimeDate(state_t* last_state);
extern void _ui_drawSettingsTimeDateSet(state_t* last_state, ui_state_t* ui_state);
#endif
extern void _ui_drawSettingsDisplay(state_t* last_state, ui_state_t* ui_state);
extern void _ui_drawSettingsDisplay(ui_state_t* ui_state);
extern bool _ui_drawMacroMenu(state_t* last_state);
const char *menu_items[6] =
@ -1053,7 +1053,7 @@ void ui_updateGUI(state_t last_state)
break;
#endif
case SETTINGS_DISPLAY:
_ui_drawSettingsDisplay(&last_state, &ui_state);
_ui_drawSettingsDisplay(&ui_state);
break;
// Low battery screen
case LOW_BAT:

Wyświetl plik

@ -202,7 +202,7 @@ void _ui_drawMenuSettings(ui_state_t* ui_state)
_ui_drawMenuList(layout.line1_left, ui_state->menu_selected, _ui_getSettingsEntryName);
}
void _ui_drawSettingsDisplay(state_t* last_state, ui_state_t* ui_state)
void _ui_drawSettingsDisplay(ui_state_t* ui_state)
{
gfx_clearScreen();
// Print "Display" on top bar