From 024c7ffe3a4fa2fcb83bd280fc67dbe924eeae5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Wed, 30 Aug 2023 21:48:16 +0200 Subject: [PATCH] ttwrplus: fix sporadic missing TX The bug was due to an uninitialized memory being used to configure the RTX thread, that disabled Tx in a random way by randomly set the txDisable field. TG-553 --- openrtx/src/core/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/src/core/threads.c b/openrtx/src/core/threads.c index a757d9b0..81c813f2 100644 --- a/openrtx/src/core/threads.c +++ b/openrtx/src/core/threads.c @@ -52,7 +52,7 @@ void *ui_threadFunc(void *arg) (void) arg; kbd_msg_t kbd_msg; - rtxStatus_t rtx_cfg; + rtxStatus_t rtx_cfg = { 0 }; bool sync_rtx = true; long long time = 0;