mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
LogTrace error msg
This commit is contained in:
parent
cb8d589fc4
commit
37ae102e38
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (timestamp_end - timestamp_start > 0x7FFF) {
|
if (timestamp_end - timestamp_start > 0x7FFF) {
|
||||||
|
Dbprintf("Error in LogTrace: duration too long for UINT16: 0x%08x", timestamp_end - timestamp_start);
|
||||||
return false; // duration too long, must be max 15 bits
|
return false; // duration too long, must be max 15 bits
|
||||||
}
|
}
|
||||||
hdr->timestamp = timestamp_start;
|
hdr->timestamp = timestamp_start;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue