Odstranena nepouzivana cast. Vse se zda byt funkcni.
This commit is contained in:
		| @@ -706,12 +706,8 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb) | |||||||
|   WiFi.softAPConfig(apIP, apIP, netMsk); |   WiFi.softAPConfig(apIP, apIP, netMsk); | ||||||
|   if (ssid.endsWith(F("?"))) |   if (ssid.endsWith(F("?"))) | ||||||
|   { |   { | ||||||
|     //uint8_t amac[6]; |  | ||||||
|     char lmac[16]; |     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()); |     sprintf_P(lmac, PSTR("%06X"), ESP_getChipId()); | ||||||
|     ssid.replace(F("?"), String(lmac)); |     ssid.replace(F("?"), String(lmac)); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user