Revert #426
This commit is contained in:
parent
715bc8148c
commit
62d99e1554
6 changed files with 14 additions and 16 deletions
|
@ -50,7 +50,7 @@ static void telnetTask(void *pvParameters)
|
|||
{
|
||||
ip_addr_t first_client_ip;
|
||||
IP4_ADDR(&first_client_ip, 172, 16, 0, 2);
|
||||
dhcpserver_start(sdk_system_get_netif(SOFTAP_IF), &first_client_ip, 4);
|
||||
dhcpserver_start(&first_client_ip, 4);
|
||||
|
||||
struct netconn *nc = netconn_new(NETCONN_TCP);
|
||||
if (!nc)
|
||||
|
|
|
@ -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(sdk_system_get_netif(SOFTAP_IF), &first_client_ip, 4);
|
||||
dhcpserver_start(&first_client_ip, 4);
|
||||
printf("DHCP started\n");
|
||||
|
||||
//Create a queue to store events on netconns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue