From: Uwe Hermann Date: Mon, 3 Feb 2014 21:51:56 +0000 (+0100) Subject: mx25lxx05d: Define annotation rows. X-Git-Tag: libsigrokdecode-0.3.0~98 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9ed420384f97966e20e9c25ca6e99d7c903caf1b;p=libsigrokdecode.git mx25lxx05d: Define annotation rows. --- diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py index 754729d..76319db 100644 --- a/decoders/mx25lxx05d/pd.py +++ b/decoders/mx25lxx05d/pd.py @@ -102,6 +102,11 @@ class Decoder(srd.Decoder): ['bits2', 'Bits2'], ['warnings', 'Warnings'], ] + annotation_rows = ( + ('bits', 'Bits', (24, 25)), + ('commands', 'Commands', tuple(range(23 + 1))), + ('warnings', 'Warnings', (26,)), + ) def __init__(self, **kwargs): self.state = None