From 4c866e6afff6f77f7d24231c3726e5e00453466f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 7 Apr 2017 04:19:08 +0000 Subject: [PATCH] fix debug macros --- BaS_gcc/net/bootp.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/BaS_gcc/net/bootp.c b/BaS_gcc/net/bootp.c index fcd70fa..426e732 100644 --- a/BaS_gcc/net/bootp.c +++ b/BaS_gcc/net/bootp.c @@ -11,12 +11,8 @@ #include #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 */