Fix example broken by DHCP update

This commit is contained in:
UncleRus 2017-10-11 01:12:22 +05:00
parent cb4ea206fa
commit 36e4677cc9

View file

@ -193,7 +193,7 @@ void user_init(void)
ip_addr_t first_client_ip;
IP4_ADDR(&first_client_ip, 172, 16, 0, 2);
dhcpserver_start(&first_client_ip, 4);
dhcpserver_start(sdk_system_get_netif(SOFTAP_IF), &first_client_ip, 4);
printf("DHCP started\n");
//Create a queue to store events on netconns