fix DEBUG macros
This commit is contained in:
@@ -11,12 +11,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
//#define DBG_ARP
|
//#define DEBUG
|
||||||
#ifdef DBG_ARP
|
#include "debug.h"
|
||||||
#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 TIMER_NETWORK 3
|
#define TIMER_NETWORK 3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user