disable ping example
This commit is contained in:
parent
fec9f9cfe1
commit
32a36c5e6e
4 changed files with 5 additions and 3 deletions
|
@ -116,7 +116,7 @@ int STDCALL network_task(void* arg)
|
|||
|
||||
// start echo and ping server
|
||||
echo_init();
|
||||
ping_init();
|
||||
//ping_init();
|
||||
|
||||
while(!done) {
|
||||
#ifdef CONFIG_PCI
|
||||
|
|
|
@ -201,6 +201,7 @@ ping_thread(void *arg)
|
|||
LWIP_UNUSED_ARG(arg);
|
||||
|
||||
if ((s = lwip_socket(AF_INET, SOCK_RAW, IP_PROTO_ICMP)) < 0) {
|
||||
LWIP_DEBUGF( PING_DEBUG, ("ping: invalid socket\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ int test_init(void)
|
|||
mailbox_int32_init(&mbox);
|
||||
|
||||
#ifdef CONFIG_LWIP
|
||||
ping_send_now();
|
||||
//ping_send_now();
|
||||
#endif
|
||||
|
||||
create_kernel_task(NULL, foo, "Hello from foo1\n");
|
||||
|
|
|
@ -89,12 +89,13 @@
|
|||
#define DHCP_DEBUG LWIP_DBG_OFF
|
||||
#define ETHARP_DEBUG LWIP_DBG_OFF
|
||||
#define TCPIP_DEBUG LWIP_DBG_OFF
|
||||
#define SYS_DEBUG LWIP_DBG_ON
|
||||
#define SYS_DEBUG LWIP_DBG_OFF
|
||||
#define RAW_DEBUG LWIP_DBG_OFF
|
||||
#define MEM_DEBUG LWIP_DBG_OFF
|
||||
#define IP_DEBUG LWIP_DBG_OFF
|
||||
#define INET_DEBUG LWIP_DBG_OFF
|
||||
#define NETIF_DEBUG LWIP_DBG_ON
|
||||
#define TIMERS_DEBUG LWIP_DBG_OFF
|
||||
#define SOCKETS_DEBUG LWIP_DBG_OFF
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue