mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
fixed iso14443b snoop, plus compiling issue of redefined parameter, please take care about this next time before a commit
This commit is contained in:
parent
9d71094388
commit
0f7f9edc14
3 changed files with 17 additions and 24 deletions
|
@ -403,7 +403,7 @@ int CmdHF14AMfRestore1k(const char *Cmd)
|
|||
FILE *fdump;
|
||||
FILE *fkeys;
|
||||
|
||||
char c;
|
||||
char ch;
|
||||
|
||||
if ((fdump = fopen("dumpdata.bin","rb")) == NULL) {
|
||||
PrintAndLog("Could not find file dump.bin");
|
||||
|
@ -447,8 +447,8 @@ int CmdHF14AMfRestore1k(const char *Cmd)
|
|||
|
||||
PrintAndLog("Writing to block %2d: %s Confirm? [Y,N]", i*4+j, sprint_hex(bldata, 16));
|
||||
|
||||
scanf("%c",&c);
|
||||
if ((c != 'y') || (c != 'Y')){
|
||||
scanf("%c",&ch);
|
||||
if ((ch != 'y') || (ch != 'Y')){
|
||||
PrintAndLog("Aborting !");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue