forked from xuos/xiuos
fix lwip_tcp_demo lwip init bug
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user