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