mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
typo
This commit is contained in:
parent
29bb74beab
commit
a3161d5b3c
@ -234,15 +234,15 @@ bool ESP8266WiFiAPClass::softAPConfig(IPAddress local_ip, IPAddress gateway, IPA
|
|||||||
// check config
|
// check config
|
||||||
if(wifi_get_ip_info(SOFTAP_IF, &info)) {
|
if(wifi_get_ip_info(SOFTAP_IF, &info)) {
|
||||||
if(info.ip.addr == 0x00000000) {
|
if(info.ip.addr == 0x00000000) {
|
||||||
DEBUG_WIFI("[AP] IP config Invalid?!\n");
|
DEBUG_WIFI("[APConfig] IP config Invalid?!\n");
|
||||||
ret = false;
|
ret = false;
|
||||||
} else if(local_ip != info.ip.addr) {
|
} else if(local_ip != info.ip.addr) {
|
||||||
ip = info.ip.addr;
|
ip = info.ip.addr;
|
||||||
DEBUG_WIFI("[AP] IP config not set correct?! new IP: %s\n", ip.toString().c_str());
|
DEBUG_WIFI("[APConfig] IP config not set correct?! new IP: %s\n", ip.toString().c_str());
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEBUG_WIFI("[AP] wifi_get_ip_info failed!\n");
|
DEBUG_WIFI("[APConfig] wifi_get_ip_info failed!\n");
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user