cbus_debug.h 897 B

123456789101112131415161718192021222324252627282930
  1. //***************************************************************************
  2. //!file cbus_debug.h
  3. //!brief
  4. //
  5. //***************************************************************************/
  6. #ifndef __cbus_DEBUG_H__
  7. #define __cbus_DEBUG_H__
  8. #include "cbus_datatypes.h"
  9. //------------------------------------------------------------------------------
  10. // Debug Flags
  11. //------------------------------------------------------------------------------
  12. #define RCP_DEBUG 0 // 1 - Enable RCP debug mode
  13. //------------------------------------------------------------------------------
  14. // Debug Macros
  15. //------------------------------------------------------------------------------
  16. #define MHL_DEBUG
  17. //#define CBUS_DETAIL_DEBUG_MSG
  18. #ifdef MHL_DEBUG
  19. #define PRE_FMT "MHL"
  20. #define mhldbg( fmt, arg...) printk("[%s]"fmt,PRE_FMT, ##arg)
  21. #endif
  22. #endif // __cbus_DEBUG_H__