mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 17:39:07 +08:00
Update wificonf.cpp
Set Gateway as DNS in STA Static IP mode
This commit is contained in:
parent
f1b31c6864
commit
442d95b151
@ -454,7 +454,7 @@ bool WIFI_CONFIG::Setup (bool force_ap)
|
||||
}
|
||||
IPAddress subnet (ip_buf[0], ip_buf[1], ip_buf[2], ip_buf[3]);
|
||||
//apply according active wifi mode
|
||||
WiFi.config ( local_ip, gateway, subnet);
|
||||
WiFi.config ( local_ip, gateway, subnet, gateway);
|
||||
}
|
||||
WiFi.enableAP (false);
|
||||
delay (100);
|
||||
|
Loading…
x
Reference in New Issue
Block a user