mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -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:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user