UI: Use more compact representation for menu entries

replace/7ec1092c190e55335a4249c43cb7aae34916eae3
Federico Amedeo Izzo 2021-02-13 16:14:44 +01:00
rodzic a163bc6998
commit 0a04650d58
1 zmienionych plików z 11 dodań i 19 usunięć
openrtx/src/ui

Wyświetl plik

@ -99,7 +99,7 @@ extern void _ui_drawSettingsTimeDateSet(ui_state_t* ui_state);
extern void _ui_drawSettingsDisplay(ui_state_t* ui_state);
extern bool _ui_drawMacroMenu();
const char *menu_items[8] =
const char *menu_items[] =
{
"Zone",
"Channels",
@ -111,31 +111,22 @@ const char *menu_items[8] =
"About"
};
const char *settings_items[] =
{
#ifdef HAS_RTC
const char *settings_items[] =
{
"Time & Date",
"Display"
};
#else
const char *settings_items[] =
{
"Display"
};
#endif
"Display",
};
const char *display_items[] =
{
"Brightness",
#ifdef SCREEN_CONTRAST
const char *display_items[] =
{
"Brightness",
"Contrast"
};
#else
const char *display_items[] =
{
"Brightness",
};
#endif
};
const char *info_items[] =
{
"Bat. Voltage",
@ -147,6 +138,7 @@ const char *info_items[] =
"UHF",
"LCD Type"
};
const char *authors[] =
{
"Niccolo' IU2KIN",