From e712375edc9515fae16f3909325055ed4c0ce65c Mon Sep 17 00:00:00 2001 From: Anna Antonenko Date: Mon, 7 Apr 2025 23:59:10 +0400 Subject: [PATCH] cli_vcp: make tx flag volatile --- applications/services/cli/cli_vcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/services/cli/cli_vcp.c b/applications/services/cli/cli_vcp.c index f23f813a2..99f2d7880 100644 --- a/applications/services/cli/cli_vcp.c +++ b/applications/services/cli/cli_vcp.c @@ -50,7 +50,7 @@ struct CliVcp { PipeSide* own_pipe; PipeSide* shell_pipe; - bool is_currently_transmitting; + volatile bool is_currently_transmitting; size_t previous_tx_length; CliRegistry* main_registry;