diff --git a/src/config/settings.h b/src/config/settings.h index 078c88c3..7d924c4e 100644 --- a/src/config/settings.h +++ b/src/config/settings.h @@ -417,8 +417,8 @@ class settings { } else { getChar(obj, F("ssid"), mCfg.sys.stationSsid, SSID_LEN); getChar(obj, F("pwd"), mCfg.sys.stationPwd, PWD_LEN); - getChar(obj, F("adm"), mCfg.sys.deviceName, DEVNAME_LEN); - getChar(obj, F("dev"), mCfg.sys.adminPwd, PWD_LEN); + getChar(obj, F("dev"), mCfg.sys.deviceName, DEVNAME_LEN); + getChar(obj, F("adm"), mCfg.sys.adminPwd, PWD_LEN); getVal(obj, F("prot_mask"), &mCfg.sys.protectionMask); getVal(obj, F("dark"), &mCfg.sys.darkMode); if(obj.containsKey(F("ip"))) ah::ip2Arr(mCfg.sys.ip.ip, obj[F("ip")].as());