From 6bacff9f1b712d443f4cfbbc9d852c58063db889 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 12 Sep 2025 22:07:30 +0200 Subject: [PATCH] text --- doc/new_frame_format.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/new_frame_format.md b/doc/new_frame_format.md index 76c914c9d..785a91c3a 100644 --- a/doc/new_frame_format.md +++ b/doc/new_frame_format.md @@ -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;