correct spelling error

This commit is contained in:
hduffddybz 2014-08-06 00:19:13 -08:00
parent 6b75e5372c
commit b833a5ca80
3 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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连接 */

View File

@ -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);
}
}
}