mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
chg: made DropField function a compiler macro instead.
This commit is contained in:
parent
2820ba5580
commit
6371dfc5b6
3 changed files with 9 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue