Skip to content

Commit

Permalink
Revert "#1587"
Browse files Browse the repository at this point in the history
This reverts commit b735c61.
  • Loading branch information
tablatronix committed Sep 29, 2023
1 parent 6a92492 commit ba3f198
Showing 1 changed file with 13 additions and 25 deletions.
38 changes: 13 additions & 25 deletions wm_consts_en.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,20 @@

const char WM_VERSION_STR[] PROGMEM = "v2.0.15-rc.1";

static const char _wifi_token[] PROGMEM = "wifi";
static const char _wifinoscan_token[] PROGMEM = "wifinoscan";
static const char _info_token[] PROGMEM = "info";
static const char _param_token[] PROGMEM = "param";
static const char _close_token[] PROGMEM = "close";
static const char _restart_token[] PROGMEM = "restart";
static const char _exit_token[] PROGMEM = "exit";
static const char _erase_token[] PROGMEM = "erase";
static const char _update_token[] PROGMEM = "update";
static const char _sep_token[] PROGMEM = "sep";
static const char _custom_token[] PROGMEM = "custom";
static PGM_P _menutokens[] PROGMEM = {
_wifi_token,
_wifinoscan_token,
_info_token,
_param_token,
_close_token,
_restart_token,
_exit_token,
_erase_token,
_update_token,
_sep_token,
_custom_token
const uint8_t _nummenutokens = 11;
const char * const _menutokens[_nummenutokens] PROGMEM = {
"wifi",
"wifinoscan",
"info",
"param",
"close",
"restart",
"exit",
"erase",
"update",
"sep",
"custom"
};
const uint8_t _nummenutokens = (sizeof(_menutokens) / sizeof(PGM_P));


const char R_root[] PROGMEM = "/";
const char R_wifi[] PROGMEM = "/wifi";
Expand Down

0 comments on commit ba3f198

Please sign in to comment.