Added Accessibility menu name to string table for voice prompt announcement.
Removed unnecessary comment.
md1702
vk7js 2022-09-01 22:59:14 +10:00 zatwierdzone przez Silvano Seva
rodzic 9f5a45954d
commit 52479d10b5
3 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -88,5 +88,6 @@ const stringsTable_t englishStrings =
.macroMenu = "Macro Menu",
.forEmergencyUse = "For emergency use",
.pressAnyButton = "press any button.",
.accessibility = "Accessibility",
};
#endif // ENGLISHSTRINGS_H

Wyświetl plik

@ -93,6 +93,7 @@ typedef struct
const char* macroMenu;
const char* forEmergencyUse;
const char* pressAnyButton;
const char* accessibility;
}
stringsTable_t;

Wyświetl plik

@ -1214,7 +1214,6 @@ void ui_updateFSM(bool *sync_rtx)
ui_state.last_main_state = state.ui_screen;
// Open Menu
state.ui_screen = MENU_TOP;
// TODO: announce the menu name.
// The selected item will be announced when the item is first selected.
}
else if(msg.keys & KEY_ESC)