FIX: warning "DBG" redefine

This commit is contained in:
user 2018-01-31 11:22:41 +01:00
parent 809f3bc62c
commit 593315f7d4
2 changed files with 7 additions and 3 deletions

View file

@ -910,7 +910,7 @@ get_rats_is_2k(mftag t, mfreader r)
exit(EXIT_FAILURE);
}
if (res >= 10) {
printf("ATS %02X%02X%02X%02X%02X|%02X%02X%02X%02X\n", res, abtRx[0], abtRx[1], abtRx[2], abtRx[3], abtRx[4], abtRx[5], abtRx[6], abtRx[7], abtRx[8]);
printf("ATS %02X%02X%02X%02X%02X|%02X%02X%02X%02X%02X\n", res, abtRx[0], abtRx[1], abtRx[2], abtRx[3], abtRx[4], abtRx[5], abtRx[6], abtRx[7], abtRx[8]);
return ((abtRx[5] == 0xc1) && (abtRx[6] == 0x05)
&& (abtRx[7] == 0x2f) && (abtRx[8] == 0x2f)
&& ((t.nt.nti.nai.abtAtqa[1] & 0x02) == 0x00));

View file

@ -32,9 +32,13 @@
#endif
#ifdef SLRE_DEBUG
#define DBG(x) printf x
# ifndef DBG
# define DBG(x) printf x
# endif DBG
#else
#define DBG(x)
# ifndef DBG
# define DBG(x)
# endif DBG
#endif
struct bracket_pair {