Fix some networking example code that needs updating for lwip changes.

This commit is contained in:
Our Air Quality 2019-04-06 10:53:45 +11:00
parent 3df482c85a
commit 832c1e64a7
3 changed files with 7 additions and 8 deletions

View file

@ -48,7 +48,7 @@ void user_init(void)
*/
static void telnetTask(void *pvParameters)
{
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);