From 7ff3652e295da0d72d2d01e5cfbd6378189407f3 Mon Sep 17 00:00:00 2001 From: Tomas Krejci Date: Mon, 27 May 2024 02:08:16 +0200 Subject: [PATCH] up tx --- lib/olt_lib/ir_tx/olt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/olt_lib/ir_tx/olt.py b/lib/olt_lib/ir_tx/olt.py index b243f89..46c38a3 100644 --- a/lib/olt_lib/ir_tx/olt.py +++ b/lib/olt_lib/ir_tx/olt.py @@ -25,7 +25,6 @@ class LT_ABC(IR): def tx(self, tx1, tx2, tx3): - self.append(2400, 600) bits = self.bits v = tx3 & 0xff v |= (tx2 & 0xff) << 8 @@ -34,6 +33,7 @@ class LT_ABC(IR): v = rbit32(v) v = v >> 8 + self.append(2400, 600) for _ in range(bits): self.append(1200 if v & 1 else 600, 600) v >>= 1