chg: made DropField function a compiler macro instead.
This commit is contained in:
@@ -139,9 +139,15 @@
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || (__APPLE__)
|
||||
# define BLUE_MSG(s) "\e[34m(s)\e[0m"
|
||||
# define BLUE_MSG(s) "\e[34m" #s "\e[0m"
|
||||
#else
|
||||
# define BLUE_MSG(s) "(s)"
|
||||
# define BLUE_MSG(s) #s
|
||||
#endif
|
||||
|
||||
#ifndef DropField
|
||||
#define DropField() { \
|
||||
UsbCommand c = {CMD_READER_ISO_14443a, {0,0,0}}; clearCommandBuffer(); SendCommand(&c); \
|
||||
}
|
||||
#endif
|
||||
|
||||
extern int ukbhit(void);
|
||||
|
||||
Reference in New Issue
Block a user