fix: g_debugMode - client side global debugvariable, moved to util.c

This commit is contained in:
iceman1001 2018-02-21 15:54:13 +01:00
commit a29b2328db
6 changed files with 12 additions and 8 deletions

View file

@ -25,7 +25,6 @@
#include <endian.h>
#endif
#ifndef BITMASK
# define BITMASK(X) (1 << (X))
#endif
@ -162,13 +161,14 @@
# define _YELLOW_(s) #s
#endif
#ifndef DropField
#define DropField() { \
UsbCommand c = {CMD_READER_ISO_14443a, {0,0,0}}; clearCommandBuffer(); SendCommand(&c); \
}
#endif
extern uint8_t g_debugMode;
extern int ukbhit(void);
extern void AddLogLine(char *fileName, char *extData, char *c);
extern void AddLogHex(char *fileName, char *extData, const uint8_t * data, const size_t len);