diff options
Diffstat (limited to 'decoders/onewire/onewire.py')
-rw-r--r-- | decoders/onewire/onewire.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/decoders/onewire/onewire.py b/decoders/onewire/onewire.py index 7fb1325..38cc0b8 100644 --- a/decoders/onewire/onewire.py +++ b/decoders/onewire/onewire.py @@ -149,8 +149,10 @@ class Decoder(srd.Decoder): self.net_cnt = self.net_cnt + 1 self.net_cmd = (self.net_cmd << 1) & self.lnk_bit if (self.lnk_cnt == 8): - self.put(self.startsample, self.samplenum, self.out_proto, ['LNK: BYTE', self.lnk_byte]) - self.put(self.startsample, self.samplenum, self.out_ann , ['LNK: BYTE', self.lnk_byte]) + self.put(self.startsample, self.samplenum, + self.out_proto, ['LNK: BYTE', self.lnk_byte]) + self.put(self.startsample, self.samplenum, self.out_ann, + [ANN_DEC, ['LNK: BYTE: ' + self.lnk_byte]]) if (self.net_cmd == 0x33): # READ ROM break |