From d0e01c567cb0641af09eab75f9fc1566899d395d Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Wed, 12 Dec 2018 10:02:39 +0100 Subject: [PATCH] Odstranena nepouzivana cast. Vse se zda byt funkcni. --- src/WiFiConfig.cpp | 4 ---- 1 file changed, 4 deletions(-) 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)); }