We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90bc17 commit 0bf9df2Copy full SHA for 0bf9df2
ports/raspberrypi/common-hal/wifi/Radio.c
@@ -46,6 +46,7 @@
46
#include "components/mdns/include/mdns.h"
47
#endif
48
49
+#include "lwip/sys.h"
50
#include "lwip/dns.h"
51
#include "lwip/icmp.h"
52
#include "lwip/raw.h"
@@ -55,6 +56,15 @@
55
56
#define PING_ID 0xAFAF
57
58
59
+#ifndef PING_DEBUG
60
+#define PING_DEBUG LWIP_DBG_ON
61
+#endif
62
+
63
+#ifdef LWIP_DEBUG
64
+static u32_t ping_time;
65
66
67
68
#define MAC_ADDRESS_LENGTH 6
69
70
#define NETIF_STA (&cyw43_state.netif[CYW43_ITF_STA])
0 commit comments