提交 b833a5ca 编写于 作者: H hduffddybz

correct spelling error

上级 6b75e537
...@@ -428,6 +428,10 @@ INIT_DEVICE_EXPORT(eth_system_device_init); ...@@ -428,6 +428,10 @@ INIT_DEVICE_EXPORT(eth_system_device_init);
#include <finsh.h> #include <finsh.h>
void set_if(char* netif_name, char* ip_addr, char* gw_addr, char* nm_addr) 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 *ip;
struct ip_addr addr; struct ip_addr addr;
struct netif * netif = netif_list; struct netif * netif = netif_list;
......
...@@ -81,7 +81,7 @@ void tcpclient(const char* url, int port) ...@@ -81,7 +81,7 @@ void tcpclient(const char* url, int port)
else else
{ {
/* 在控制终端显示收到的数据 */ /* 在控制终端显示收到的数据 */
rt_kprintf("\nRecieved data = %s " , recv_data); rt_kprintf("\nReceived data = %s " , recv_data);
} }
/* 发送数据到sock连接 */ /* 发送数据到sock连接 */
......
...@@ -101,7 +101,7 @@ void tcpserv(void* parameter) ...@@ -101,7 +101,7 @@ void tcpserv(void* parameter)
else else
{ {
/* 在控制终端显示收到的数据 */ /* 在控制终端显示收到的数据 */
rt_kprintf("RECIEVED DATA = %s \n" , recv_data); rt_kprintf("RECEIVED DATA = %s \n" , recv_data);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册