diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index 4cc2988..0fdac80 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -706,12 +706,8 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb) WiFi.softAPConfig(apIP, apIP, netMsk); if (ssid.endsWith(F("?"))) { - //uint8_t amac[6]; char lmac[16]; - //WiFi.softAPmacAddress(amac); - //sprintf_P(lmac, PSTR("%02X%02X%02X"), amac[3], amac[4], amac[5]); - sprintf_P(lmac, PSTR("%06X"), ESP_getChipId()); ssid.replace(F("?"), String(lmac)); }