From b0742e114a077faaff9b309f614f117a0c1614a9 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Sun, 29 May 2022 08:42:38 -0400 Subject: [PATCH] Correct usage of tempbuffer list. --- tnc/data_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 12f53aea..5c84f07b 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -936,7 +936,8 @@ class DATA: retry=self.tx_n_retry_of_burst, ) - self.enqueue_frame_for_tx(bytearray(tempbuffer), c2_mode=data_mode) + for t_buf_item in tempbuffer: + self.enqueue_frame_for_tx(t_buf_item, c2_mode=data_mode) # After transmission finished, wait for an ACK or RPT frame # burstacktimeout = time.time() + BURST_ACK_TIMEOUT_SECONDS + 100