Fix some networking example code that needs updating for lwip changes.
This commit is contained in:
parent
3df482c85a
commit
832c1e64a7
3 changed files with 7 additions and 8 deletions
|
|
@ -180,7 +180,7 @@ void wifiInit() {
|
|||
};
|
||||
sdk_wifi_softap_set_config(&ap_config);
|
||||
|
||||
ip_addr_t first_client_ip;
|
||||
ip4_addr_t first_client_ip;
|
||||
IP4_ADDR(&first_client_ip, 172, 16, 0, 2);
|
||||
dhcpserver_start(&first_client_ip, 4);
|
||||
dhcpserver_set_dns(&ap_ip.ip);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue