PN532 customized
Fork of PN532 by
PN532_debug.h
- Committer:
- stanvn
- Date:
- 2016-02-11
- Revision:
- 10:2fcf2448d199
- Parent:
- 3:4189a10038e6
File content as of revision 10:2fcf2448d199:
#ifndef __DEBUG_H__ #define __DEBUG_H__ //#define DEBUG #ifdef DEBUG #include <stdio.h> #define DMSG(args...) printf(args) #define DMSG_STR(str) printf("%s\n", str) #define DMSG_INT(num) printf("%d\n", num) #define DMSG_HEX(num) printf("%2X ", num) #else #define DMSG(args...) #define DMSG_STR(str) #define DMSG_INT(num) #define DMSG_HEX(num) #endif // DEBUG #endif // __DEBUG_H__