From: Uwe Hermann Date: Sat, 1 Feb 2014 14:25:53 +0000 (+0100) Subject: onewire_link: Define annotation rows. X-Git-Tag: libsigrokdecode-0.3.0~130 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8e11415b6bc83e6a114223a3ece588097b0e50d9;p=libsigrokdecode.git onewire_link: Define annotation rows. --- 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)