mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Merge pull request #2573 from douniwan5788/tracelist
fix: `trace list` when there are exactly 8 bits of data.
This commit is contained in:
commit
1bf6104e79
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ static uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *tr
|
|||
uint8_t nbits = parityBytes[0];
|
||||
|
||||
// only apply this to lesser than one byte
|
||||
if (data_len == 1) {
|
||||
if (data_len == 1 && nbits != 0) {
|
||||
|
||||
snprintf(line[0], 120, "%2u: %02X ", nbits, frame[0] >> (8 - nbits));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue