fix dbg().. macros

This commit is contained in:
Markus Fröschle
2017-04-07 04:14:16 +00:00
parent 67a351fe9c
commit 11c21cfa3b

View File

@@ -19,13 +19,8 @@
#error "unknown machine!" #error "unknown machine!"
#endif #endif
//#define DBG_AM79 #include <debug.h>
#ifdef DBG_AM79 // #define DEBUG
#define dbg(format, arg...) do { xprintf("DEBUG: " format, ##arg); } while (0)
#else
#define dbg(format, arg...) do { ; } while (0)
#endif /* DBG_AM79 */
/* Initialize the AM79C874 PHY /* Initialize the AM79C874 PHY
* *