mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 07:36:14 +08:00
hitag: RX was logged twice
This commit is contained in:
parent
aa0879eee4
commit
65de9ca2c2
1 changed files with 2 additions and 9 deletions
|
@ -1354,14 +1354,6 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) {
|
||||||
|
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
// Check if frame was captured and store it
|
|
||||||
if (rxlen > 0) {
|
|
||||||
frame_count++;
|
|
||||||
response++;
|
|
||||||
LogTrace(rx, nbytes(rxlen), response, response, NULL, false);
|
|
||||||
//Dbhexdump(nbytes(rxlen), rx, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// By default reset the transmission buffer
|
// By default reset the transmission buffer
|
||||||
tx = txbuf;
|
tx = txbuf;
|
||||||
switch (htf) {
|
switch (htf) {
|
||||||
|
@ -1546,7 +1538,8 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) {
|
||||||
// rxlen = 32;
|
// rxlen = 32;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
LogTrace(rx, nbytes(rxlen), response, 0, NULL, false);
|
// TODO response times should be cumulative/absolute
|
||||||
|
LogTrace(rx, nbytes(rxlen), response, response, NULL, false);
|
||||||
Dbhexdump(nbytes(rxlen), rx, false);
|
Dbhexdump(nbytes(rxlen), rx, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue