This reverts commit b735c61f6e.
This commit is contained in:
tablatronix
2023-09-28 23:41:35 -05:00
parent 6a92492bee
commit ba3f1986f2
+13 -25
View File
@@ -19,32 +19,20 @@
const char WM_VERSION_STR[] PROGMEM = "v2.0.15-rc.1"; const char WM_VERSION_STR[] PROGMEM = "v2.0.15-rc.1";
static const char _wifi_token[] PROGMEM = "wifi"; const uint8_t _nummenutokens = 11;
static const char _wifinoscan_token[] PROGMEM = "wifinoscan"; const char * const _menutokens[_nummenutokens] PROGMEM = {
static const char _info_token[] PROGMEM = "info"; "wifi",
static const char _param_token[] PROGMEM = "param"; "wifinoscan",
static const char _close_token[] PROGMEM = "close"; "info",
static const char _restart_token[] PROGMEM = "restart"; "param",
static const char _exit_token[] PROGMEM = "exit"; "close",
static const char _erase_token[] PROGMEM = "erase"; "restart",
static const char _update_token[] PROGMEM = "update"; "exit",
static const char _sep_token[] PROGMEM = "sep"; "erase",
static const char _custom_token[] PROGMEM = "custom"; "update",
static PGM_P _menutokens[] PROGMEM = { "sep",
_wifi_token, "custom"
_wifinoscan_token,
_info_token,
_param_token,
_close_token,
_restart_token,
_exit_token,
_erase_token,
_update_token,
_sep_token,
_custom_token
}; };
const uint8_t _nummenutokens = (sizeof(_menutokens) / sizeof(PGM_P));
const char R_root[] PROGMEM = "/"; const char R_root[] PROGMEM = "/";
const char R_wifi[] PROGMEM = "/wifi"; const char R_wifi[] PROGMEM = "/wifi";