FIX: warning "DBG" redefine
This commit is contained in:
parent
809f3bc62c
commit
593315f7d4
2 changed files with 7 additions and 3 deletions
|
@ -910,7 +910,7 @@ get_rats_is_2k(mftag t, mfreader r)
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
if (res >= 10) {
|
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)
|
return ((abtRx[5] == 0xc1) && (abtRx[6] == 0x05)
|
||||||
&& (abtRx[7] == 0x2f) && (abtRx[8] == 0x2f)
|
&& (abtRx[7] == 0x2f) && (abtRx[8] == 0x2f)
|
||||||
&& ((t.nt.nti.nai.abtAtqa[1] & 0x02) == 0x00));
|
&& ((t.nt.nti.nai.abtAtqa[1] & 0x02) == 0x00));
|
||||||
|
|
|
@ -32,9 +32,13 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SLRE_DEBUG
|
#ifdef SLRE_DEBUG
|
||||||
#define DBG(x) printf x
|
# ifndef DBG
|
||||||
|
# define DBG(x) printf x
|
||||||
|
# endif DBG
|
||||||
#else
|
#else
|
||||||
#define DBG(x)
|
# ifndef DBG
|
||||||
|
# define DBG(x)
|
||||||
|
# endif DBG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct bracket_pair {
|
struct bracket_pair {
|
||||||
|
|
Loading…
Reference in a new issue