aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2022-12-28 16:52:54 +0100
committerHoernchen <ewild@sysmocom.de>2022-12-28 17:01:13 +0000
commitd0c1055051f59572e902ccef8598b796ad33179a (patch)
tree61c787d5ab47fc971dc357441f1e44ac4a365906
parent0ce64705e0415c33204d194848d548c86341cf98 (diff)
ms: init trash used to escape the usb callbacks2023q1
-rw-r--r--Transceiver52M/ms/ms_upper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/ms/ms_upper.cpp b/Transceiver52M/ms/ms_upper.cpp
index e59aeae..281716e 100644
--- a/Transceiver52M/ms/ms_upper.cpp
+++ b/Transceiver52M/ms/ms_upper.cpp
@@ -449,8 +449,8 @@ void sighandler(int sigset)
// we know the flag is atomic and it prevents the trxcon cb handlers from writing
// to the queues, so submit some trash to unblock the threads & exit
- trxcon::trxcon_phyif_cmd cmd;
- trxcon::internal_q_tx_buf b;
+ trxcon::trxcon_phyif_cmd cmd = {};
+ trxcon::internal_q_tx_buf b = {};
trxcon::txq.spsc_push(&b);
trxcon::cmdq_to_phy.spsc_push(&cmd);