debug.h 192 B

123456789101112
  1. #ifndef __DEBUG_H__
  2. #define __DEBUG_H__
  3. //#define GMAC_DEBUG
  4. #include <rtthread.h>
  5. #ifdef GMAC_DEBUG
  6. #define DEBUG_MES rt_kprintf
  7. #else
  8. #define DEBUG_MES(...)
  9. #endif
  10. #endif /*__DEBUG_H__*/