]> git.sur5r.net Git - freertos/commitdiff
Remove possibility of having multiple definitions of DEBUG in uip_arp.c.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Sep 2010 21:06:16 +0000 (21:06 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Sep 2010 21:06:16 +0000 (21:06 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1114 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/ethernet/FreeTCPIP/uip_arp.c

index 4f4b06fe94a641696d706166c582fd93a4845824..ab84419c67bf44bed00a187bc3141a7ea39eb311 100644 (file)
@@ -115,6 +115,10 @@ static u8_t                                                        tmpage;
 \r
 #define BUF            ( ( struct arp_hdr * ) &uip_buf[0] )\r
 #define IPBUF  ( ( struct ethip_hdr * ) &uip_buf[0] )\r
+\r
+#ifdef DEBUG\r
+       #undef DEBUG\r
+#endif\r
 #define DEBUG  0\r
 #if DEBUG\r
 #include <stdio.h>\r