fix DEBUG macros

This commit is contained in:
Markus Fröschle
2017-04-07 04:15:34 +00:00
parent 11c21cfa3b
commit a0df19a64e

View File

@@ -11,12 +11,8 @@
#include <stdbool.h>
#include <stddef.h>
//#define DBG_ARP
#ifdef DBG_ARP
#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
#else
#define dbg(format, arg...) do { ; } while (0)
#endif /* DBG_ARP */
//#define DEBUG
#include "debug.h"
#define TIMER_NETWORK 3