mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
log zero length responses again... sof..
This commit is contained in:
parent
ea86edc723
commit
815e004b8d
1 changed files with 3 additions and 4 deletions
|
@ -718,7 +718,7 @@ int GetIso15693AnswerFromTag(uint8_t *response, uint16_t max_len, uint16_t timeo
|
||||||
}
|
}
|
||||||
if (dt->len > dt->max_len) {
|
if (dt->len > dt->max_len) {
|
||||||
ret = -2; // buffer overflow
|
ret = -2; // buffer overflow
|
||||||
Dbprintf("overflow (%d >= %d", dt->len, dt->max_len);
|
Dbprintf("overflow (%d > %d", dt->len, dt->max_len);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -755,9 +755,8 @@ int GetIso15693AnswerFromTag(uint8_t *response, uint16_t max_len, uint16_t timeo
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
if (dt->len > 0) {
|
|
||||||
LogTrace_ISO15693(dt->output, dt->len, (sof_time * 4), (*eof_time * 4), NULL, false);
|
LogTrace_ISO15693(dt->output, dt->len, (sof_time * 4), (*eof_time * 4), NULL, false);
|
||||||
}
|
|
||||||
return dt->len;
|
return dt->len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue