summaryrefslogtreecommitdiff
path: root/decoders/onewire_link
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-01 15:25:53 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-01 15:59:13 +0100
commit8e11415b6bc83e6a114223a3ece588097b0e50d9 (patch)
treec28f07c6fcc5b4bdc6fa49e0935f71841a76e74f /decoders/onewire_link
parentbb5ebde6dce29b53a814efe3a1b1c350196674d9 (diff)
downloadlibsigrokdecode-8e11415b6bc83e6a114223a3ece588097b0e50d9.tar.gz
libsigrokdecode-8e11415b6bc83e6a114223a3ece588097b0e50d9.zip
onewire_link: Define annotation rows.
Diffstat (limited to 'decoders/onewire_link')
-rw-r--r--decoders/onewire_link/pd.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py
index c27abc6..51eebe8 100644
--- a/decoders/onewire_link/pd.py
+++ b/decoders/onewire_link/pd.py
@@ -55,6 +55,11 @@ class Decoder(srd.Decoder):
['presence', 'Presence'],
['overdrive', 'Overdrive mode notifications'],
]
+ annotation_rows = (
+ ('bits', 'Bits', (0, 2, 3)),
+ ('info', 'Info', (4,)),
+ ('warnings', 'Warnings', (1,)),
+ )
def putm(self, data):
self.put(0, 0, self.out_ann, data)