fix debug
This commit is contained in:
parent
d90bc1760f
commit
0bf9df232a
|
@ -46,6 +46,7 @@
|
||||||
#include "components/mdns/include/mdns.h"
|
#include "components/mdns/include/mdns.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "lwip/sys.h"
|
||||||
#include "lwip/dns.h"
|
#include "lwip/dns.h"
|
||||||
#include "lwip/icmp.h"
|
#include "lwip/icmp.h"
|
||||||
#include "lwip/raw.h"
|
#include "lwip/raw.h"
|
||||||
|
@ -55,6 +56,15 @@
|
||||||
#define PING_ID 0xAFAF
|
#define PING_ID 0xAFAF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PING_DEBUG
|
||||||
|
#define PING_DEBUG LWIP_DBG_ON
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef LWIP_DEBUG
|
||||||
|
static u32_t ping_time;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define MAC_ADDRESS_LENGTH 6
|
#define MAC_ADDRESS_LENGTH 6
|
||||||
|
|
||||||
#define NETIF_STA (&cyw43_state.netif[CYW43_ITF_STA])
|
#define NETIF_STA (&cyw43_state.netif[CYW43_ITF_STA])
|
||||||
|
|
Loading…
Reference in New Issue