correct spelling error
This commit is contained in:
parent
6b75e5372c
commit
b833a5ca80
|
@ -428,6 +428,10 @@ INIT_DEVICE_EXPORT(eth_system_device_init);
|
|||
#include <finsh.h>
|
||||
void set_if(char* netif_name, char* ip_addr, char* gw_addr, char* nm_addr)
|
||||
{
|
||||
#if LWIP_DHCP
|
||||
return ;
|
||||
#endif
|
||||
|
||||
struct ip_addr *ip;
|
||||
struct ip_addr addr;
|
||||
struct netif * netif = netif_list;
|
||||
|
|
|
@ -81,7 +81,7 @@ void tcpclient(const char* url, int port)
|
|||
else
|
||||
{
|
||||
/* 在控制终端显示收到的数据 */
|
||||
rt_kprintf("\nRecieved data = %s " , recv_data);
|
||||
rt_kprintf("\nReceived data = %s " , recv_data);
|
||||
}
|
||||
|
||||
/* 发送数据到sock连接 */
|
||||
|
|
|
@ -101,7 +101,7 @@ void tcpserv(void* parameter)
|
|||
else
|
||||
{
|
||||
/* 在控制终端显示收到的数据 */
|
||||
rt_kprintf("RECIEVED DATA = %s \n" , recv_data);
|
||||
rt_kprintf("RECEIVED DATA = %s \n" , recv_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue