mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
fix
This commit is contained in:
parent
d8dba632be
commit
69274a1184
1 changed files with 5 additions and 5 deletions
|
@ -153,6 +153,8 @@ static uint16_t printHexLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trac
|
|||
return tracepos;
|
||||
}
|
||||
|
||||
uint16_t ret;
|
||||
|
||||
switch (protocol) {
|
||||
case ISO_14443A: {
|
||||
/* https://www.kaiser.cx/pcap-iso14443.html defines a pseudo header:
|
||||
|
@ -185,16 +187,14 @@ static uint16_t printHexLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trac
|
|||
temp_str1,
|
||||
temp_str2,
|
||||
line);
|
||||
return tracepos;
|
||||
ret = tracepos;
|
||||
}
|
||||
default:
|
||||
PrintAndLogEx(NORMAL, "Currently only 14a supported");
|
||||
return traceLen;
|
||||
ret = traceLen;
|
||||
}
|
||||
|
||||
if (is_last_record(tracepos, trace, traceLen)) return traceLen;
|
||||
|
||||
return tracepos;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trace, uint8_t protocol, bool showWaitCycles, bool markCRCBytes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue