[Bugfix] FS#12436 cache mode strings prior to font disable

by checking string len we can cache the USB hid mode strings

I guess if the user doesn't have enough glyphs they might still
might not get the whole thing but this appears to work with
50 glyphs and the referenced russian language selected

remove call to  GUI_EVENT_ACTIONUPDATE it is now counterproductive

Change-Id: Ica96ed39c7d002fde2d1888e78d2ea18e7c1d61a
This commit is contained in:
William Wilgus 2025-03-08 14:04:42 -05:00 committed by Solomon Peachy
parent ecc72c0df9
commit dccda8c76f
3 changed files with 16 additions and 4 deletions

View file

@ -23,6 +23,6 @@
int get_hid_usb_action(void);
int keypad_mode_name_get(void);
int keypad_mode_name_get(unsigned int mode);
#endif