fix debug macros

This commit is contained in:
Markus Fröschle
2017-04-07 04:19:08 +00:00
parent 915eb68eed
commit 6e71eb97f0

View File

@@ -11,12 +11,8 @@
#include <stddef.h>
#include "bas_printf.h"
#define DBG_BOOTP
#ifdef DBG_BOOTP
#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
#else
#define dbg(format, arg...) do { ; } while (0)
#endif /* DBG_BOOTP */
// #define DEBUG
#include "debug.h"
#define TIMER_NETWORK 3 /* defines GPT3 as timer for this function */