chg: 'hf 15 sim' - made debugstatements optional (follows DEBUG flag now)

This commit is contained in:
iceman1001 2017-09-14 11:09:21 +02:00
parent 9c9daae30f
commit 635636a267

View file

@ -1007,9 +1007,12 @@ void SimTagIso15693(uint32_t parameter, uint8_t *uid) {
TransmitTo15693Reader(ToSend, ToSendMax, &tsamples, &wait); TransmitTo15693Reader(ToSend, ToSendMax, &tsamples, &wait);
LogTrace(cmd, CMD_INV_RESP, time_start << 4, (GetCountSspClk() - time_start) << 4, NULL, true); LogTrace(cmd, CMD_INV_RESP, time_start << 4, (GetCountSspClk() - time_start) << 4, NULL, true);
Dbprintf("%d octets read from reader command: %x %x %x %x %x %x %x %x %x", ans, if (DEBUG) {
Dbprintf("%d octets read from reader command: %x %x %x %x %x %x %x %x", ans,
buf[0], buf[1], buf[2], buf[3], buf[0], buf[1], buf[2], buf[3],
buf[4], buf[5], buf[6], buf[7], buf[8]); buf[4], buf[5], buf[6], buf[7]
);
}
} }
} }
switch_off(); switch_off();