fix debug

This commit is contained in:
Bill Sideris 2022-11-11 14:17:57 +02:00
parent d90bc1760f
commit 0bf9df232a
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33
1 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#include "components/mdns/include/mdns.h"
#endif
#include "lwip/sys.h"
#include "lwip/dns.h"
#include "lwip/icmp.h"
#include "lwip/raw.h"
@ -55,6 +56,15 @@
#define PING_ID 0xAFAF
#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 NETIF_STA (&cyw43_state.netif[CYW43_ITF_STA])