From: Roland Hieber <roh...@rohieb.name> There is a small typo in the rfm12 protocol decoder that I just noticed: --- decoders/rfm12/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index 3065383..9bcbd9d 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -453,21 +453,21 @@ class Decoder(srd.Decoder): self.handle_wake_up_timer_cmd(cmd, ret) elif cmd[0] == 0xC8: self.handle_low_duty_cycle_cmd(cmd, ret) elif cmd[0] == 0xC0: self.handle_low_battery_detector_cmd(cmd, ret) elif cmd[0] == 0x00: self.handle_status_read_cmd(cmd, ret) else: c = '%02x %02x' % tuple(cmd) r = '%02x %02x' % tuple(ret) - self.putx(0, 16, ['Uknown command: %s (reply: %s)!' % (c, r)]) + self.putx(0, 16, ['Unknown command: %s (reply: %s)!' % (c, r)]) def decode(self, ss, es, data): ptype, mosi, miso = data # For now, only use DATA and BITS packets. if ptype not in ('DATA', 'BITS'): return # Store the individual bit values and ss/es numbers. The next packet # is guaranteed to be a 'DATA' packet belonging to this 'BITS' one. -- 2.5.3 ------------------------------------------------------------------------------ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel