z ysaito
/
APro_B2DTst_0_Can_Class
2018.07.26
debugprint.h
- Committer:
- sayzyas
- Date:
- 2018-07-26
- Revision:
- 0:b3376afd10d8
File content as of revision 0:b3376afd10d8:
// ====================================================================== // For Debugging // ====================================================================== #define __DEBUG_PRINT_SW__ // Display SW Status to console #define __DEBUG_L0__ #define __DEBUG_L1__ //#define __DEBUG_L2__ #define __DEBUG_L3__ //#define __DEBUG_L4__ //#define __DEBUG_L5__ #define __DEBUG_WINCH_DATA__ #ifdef __DEBUG_WINCH_DATA__ #define DEBUG_PRINT_WINCH_DATA(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_WINCH_DATA(...) #endif #ifdef __DEBUG_PRINT_SW__ #define DEBUG_PRINT_SW(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_SW(...) #endif #ifdef __DEBUG_L0__ #define DEBUG_PRINT_L0(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L0(...) #endif #ifdef __DEBUG_L1__ #define DEBUG_PRINT_L1(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L1(...) #endif #ifdef __DEBUG_L2__ #define DEBUG_PRINT_L2(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L2(...) #endif #ifdef __DEBUG_L3__ #define DEBUG_PRINT_L3(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L3(...) #endif #ifdef __DEBUG_L4__ #define DEBUG_PRINT_L4(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L4(...) #endif #ifdef __DEBUG_L5__ #define DEBUG_PRINT_L5(...) pc.printf(__VA_ARGS__) #else #define DEBUG_PRINT_L5(...) #endif