diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 3076bee..0e95a68 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -1344,23 +1344,20 @@ String AutoConnect::_token_WIFI_STATUS(PageArgument& args) { */ String AutoConnect::_attachMenuItem(const AC_MENUITEM_t item) { static const char _liTempl[] PROGMEM = "
  • %s
  • "; - PGM_P id; + PGM_P id = PSTR(""); PGM_P link; PGM_P label; switch (static_cast(_apConfig.menuItems & static_cast(item))) { case AC_MENUITEM_CONFIGNEW: - id = PSTR(""); link = PSTR(AUTOCONNECT_URI_CONFIG); label = PSTR(AUTOCONNECT_MENULABEL_CONFIGNEW); break; case AC_MENUITEM_OPENSSIDS: - id = PSTR(""); link = PSTR(AUTOCONNECT_URI_OPEN); label = PSTR(AUTOCONNECT_MENULABEL_OPENSSIDS); break; case AC_MENUITEM_DISCONNECT: - id = PSTR(""); link = PSTR(AUTOCONNECT_URI_DISCON); label = PSTR(AUTOCONNECT_MENULABEL_DISCONNECT); break; @@ -1370,12 +1367,10 @@ String AutoConnect::_attachMenuItem(const AC_MENUITEM_t item) { label = PSTR(AUTOCONNECT_MENULABEL_RESET); break; case AC_MENUITEM_HOME: - id = PSTR(""); link = PSTR("HOME_URI"); label = PSTR(AUTOCONNECT_MENULABEL_HOME); break; case AC_MENUITEM_DEVINFO: - id = PSTR(""); link = PSTR(AUTOCONNECT_URI); label = PSTR(AUTOCONNECT_MENULABEL_DEVINFO); break;