forked from xuos/xiuos
fix lwip_tcp_demo lwip init bug
This commit is contained in:
parent
1c775d42f6
commit
0278d54a24
|
@ -126,7 +126,7 @@ void LwipTcpRecvTest(void)
|
||||||
{
|
{
|
||||||
uint8_t enet_port = 0; ///< test enet port 0
|
uint8_t enet_port = 0; ///< test enet port 0
|
||||||
|
|
||||||
lwip_config_net(enet_port, lwip_ipaddr, lwip_netmask, lwip_gwaddr);
|
lwip_config_tcp(enet_port, lwip_ipaddr, lwip_netmask, lwip_gwaddr);
|
||||||
|
|
||||||
uint8_t *recv_data;
|
uint8_t *recv_data;
|
||||||
socklen_t sin_size;
|
socklen_t sin_size;
|
||||||
|
|
Loading…
Reference in New Issue