From 67090a0e1550e09df40d301375285d68ed49ba7c Mon Sep 17 00:00:00 2001 From: timoehl <79080176+timoehl@users.noreply.github.com> Date: Tue, 4 Nov 2025 15:04:51 +0100 Subject: [PATCH] Reset sequence number in monitor method Reset the sequence number for each line request. --- LoRaRF/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LoRaRF/base.py b/LoRaRF/base.py index 3c328a0..61a73ec 100644 --- a/LoRaRF/base.py +++ b/LoRaRF/base.py @@ -52,6 +52,7 @@ def input(self): return request.get_value(self.offset) def monitor(self, callback, timeout: float): + self.seqno = 0 #reset the sequence number, as this is not a global number but the number in each line request t = time.time() with gpiod.request_lines( self.chip,