From 8e11415b6bc83e6a114223a3ece588097b0e50d9 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 1 Feb 2014 15:25:53 +0100 Subject: onewire_link: Define annotation rows. --- decoders/onewire_link/pd.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoders/onewire_link') 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) -- cgit v1.2.3-70-g09d2