add: potential fix for OSX uses, by @piwi
chg: adapting fix to support iceman forks extended commands.
This commit is contained in:
1 parent
886f7fbdad
commit
207fa2b574
39 files changed
+160
-129
No files matched your search
+3
-3
@@ -90,12 +90,12 @@ int CmdCOTAGRead(const char *Cmd) {
|
||||
break;
|
||||
}
|
||||
case 1: {
|
||||
GetFromBigBuf(DemodBuffer, COTAG_BITS, 0);
|
||||
DemodBufferLen = COTAG_BITS;
|
||||
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 1000) ) {
|
||||
|
||||
if ( !GetFromBigBuf(DemodBuffer, COTAG_BITS, 0, NULL, 1000, false)) {
|
||||
PrintAndLogEx(WARNING, "timeout while waiting for reply.");
|
||||
return -1;
|
||||
}
|
||||
DemodBufferLen = COTAG_BITS;
|
||||
return CmdCOTAGDemod("");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user