fix dbg().. macros

This commit is contained in:
Markus Fröschle
2017-04-07 04:14:16 +00:00
parent 7f448a45a5
commit e409e0d2c3

View File

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