From 9ed420384f97966e20e9c25ca6e99d7c903caf1b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 3 Feb 2014 22:51:56 +0100 Subject: mx25lxx05d: Define annotation rows. --- decoders/mx25lxx05d/pd.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoders/mx25lxx05d/pd.py') 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 -- cgit v1.2.3-70-g09d2