Skip to content

Commit 9406360

Browse files
authored
Merge pull request RfidResearchGroup#2476 from CiRIP/electra_decode
Actually fix ELECTRA parsing
2 parents 30a2b50 + d3f0d7d commit 9406360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/cmdlfem410x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ void printEM410x(uint32_t hi, uint64_t id, bool verbose, int type) {
231231
uint32_t sebury3 = id & 0x7FFFFF;
232232
PrintAndLogEx(SUCCESS, "Pattern Sebury : %d %d %d [0x%X 0x%X 0x%X]", sebury1, sebury2, sebury3, sebury1, sebury2, sebury3);
233233
PrintAndLogEx(SUCCESS, "VD / ID : %03" PRIu64 " / %010" PRIu64, (id >> 32LL) & 0xFFFF, (id & 0xFFFFFFFF));
234-
PrintAndLogEx(SUCCESS, "Pattern ELECTRA : " PRIu64 " " PRIu64, (id >> 24) & 0xFFFF, id & 0xFFFFFF);
234+
PrintAndLogEx(SUCCESS, "Pattern ELECTRA : %" PRIu64 " %" PRIu64, (id >> 24) & 0xFFFF, id & 0xFFFFFF);
235235

236236
PrintAndLogEx(INFO, "------------------------------------------------");
237237
}

0 commit comments

Comments
 (0)