fix debug macros

This commit is contained in:
Markus Fröschle
2017-04-07 04:17:11 +00:00
parent 8731425edb
commit 353cd1cd8c

View File

@@ -24,12 +24,8 @@
#error "Unknown machine!" #error "Unknown machine!"
#endif #endif
#define DBG_BCM // #define DEBUG
#ifdef DBG_BCM #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_BCM */
/* /*
* Initialize the BCM5222 PHY * Initialize the BCM5222 PHY