fix debug macros
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user