Debug.h 678 B

1234567891011121314151617181920212223242526272829
  1. /*****************************************************************************
  2. * | File : Debug.h
  3. * | Author : Waveshare team
  4. * | Function : debug with printf
  5. * | Info :
  6. * Image scanning
  7. * Please use progressive scanning to generate images or fonts
  8. *----------------
  9. * | This version: V1.0
  10. * | Date : 2018-01-11
  11. * | Info : Basic version
  12. *
  13. ******************************************************************************/
  14. #ifndef __DEBUG_H
  15. #define __DEBUG_H
  16. #ifndef LUAT_LOG
  17. #define LUAT_LOG_TAG "eink"
  18. #include "luat_log.h"
  19. #endif
  20. #define DEBUG 1
  21. #if DEBUG
  22. #define Debug LLOGD
  23. #else
  24. #define Debug(__info,...)
  25. #endif
  26. #endif