From 195310dda17d6f00c1b1c315ca6d484a1ef408b9 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Fri, 15 Apr 2022 11:26:53 -0400 Subject: [PATCH] Removing unneeded code. Bytearray fills with zero upon allocation. --- tnc/data_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 79d184d4..c494b548 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -1486,7 +1486,6 @@ class DATA(): ping_frame[1:3] = static.DXCALLSIGN_CRC ping_frame[3:5] = static.MYCALLSIGN_CRC ping_frame[5:11] = static.MYGRID - ping_frame[11:13] = bytes([0,0]) txbuffer = [ping_frame] static.TRANSMITTING = True