text
This commit is contained in:
1 parent
45d869e87a
commit
6bacff9f1b
1 file changed
+2
-2
@@ -433,7 +433,7 @@ Sending multiple commands can still be slow because it waits regularly for incom
|
||||
// Disable fast mode
|
||||
conn.block_after_ACK = false;
|
||||
SendCommandOLD / SendCommandMix
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, some_timeout)) {
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, some_timeout) == false) {
|
||||
....
|
||||
conn.block_after_ACK = false;
|
||||
return PM3_ETIMEOUT;
|
||||
@@ -447,7 +447,7 @@ Or if it's too complex to determine when we're sending the last command:
|
||||
conn.block_after_ACK = true;
|
||||
some loop {
|
||||
SendCommandOLD / SendCommandMIX
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, some_timeout)) {
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, some_timeout) == false) {
|
||||
....
|
||||
conn.block_after_ACK = false;
|
||||
return PM3_ETIMEOUT;
|
||||
|
||||
Reference in new issue
Block a user