checkwps: Validate %?St() tags

This will bail if referenced setting name does not exist.

Change-Id: I7abd54ec1260d3da6024ebec809f8e270b0a84e5
This commit is contained in:
Solomon Peachy 2025-09-27 10:15:28 -04:00
parent d57e1a21d1
commit d7d7627baf
6 changed files with 91 additions and 22 deletions

View file

@ -4,6 +4,8 @@
../../apps/gui/viewport.c
../../apps/language.c
../../apps/misc.c
../../apps/settings.c
../../apps/settings_list.c
../../firmware/common/strmemccpy.c
../../firmware/common/strlcpy.c
../../firmware/common/pathfuncs.c

View file

@ -39,9 +39,6 @@ bool debug_wps = false;
int wps_verbose_level = 0;
char *skin_buffer;
const struct settings_list *settings;
const int nb_settings = 0;
#ifdef SIMULATOR
#error beep beep
#endif