reset frame received counter on NACK

This commit is contained in:
DJ2LS 2023-02-23 11:10:54 +01:00
parent 72f567abfb
commit 20cd65a557

View file

@ -624,6 +624,9 @@ class DATA:
# reset burst timeout in case we had to wait too long
self.burst_last_received = time.time()
# reset frame counter for not increasing speed level
self.frame_received_counter = 0
def send_disconnect_frame(self) -> None:
"""Build and send a disconnect frame"""
disconnection_frame = bytearray(self.length_sig1_frame)