chg: made DropField function a compiler macro instead.

This commit is contained in:
iceman1001 2018-02-06 22:32:08 +01:00
commit 6371dfc5b6
3 changed files with 9 additions and 12 deletions

View file

@ -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);