mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
adjust timeouts on lf read/lf search to no timeout if threshold was set.
NOTE: lf snoop already doesn't have a timeout... also adjusted PRIx64 to SCNx64 in em410xwrite
This commit is contained in:
parent
c85189135e
commit
2b11c7c750
2 changed files with 15 additions and 10 deletions
|
@ -183,7 +183,7 @@ int CmdEM410xWrite(const char *Cmd)
|
|||
int card = 0xFF; // invalid card value
|
||||
unsigned int clock = 0; // invalid clock value
|
||||
|
||||
sscanf(Cmd, "%" PRIx64 " %d %d", &id, &card, &clock);
|
||||
sscanf(Cmd, "%" SCNx64 " %d %d", &id, &card, &clock);
|
||||
|
||||
// Check ID
|
||||
if (id == 0xFFFFFFFFFFFFFFFF) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue