This commit is contained in:
iceman1001
2025-09-12 22:07:30 +02:00
parent 45d869e87a
commit 6bacff9f1b
+2 -2
View File
@@ -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;