X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fdcf77%2Fpd.py;h=c6cf6e5de94b9004ae79b750d5e8dfc3381095f7;hb=9f6df6fe1aa837d0506b1b9bef6ee75c951a8da2;hp=e8d1443ec798dbbe525594a5d038f5e3c92e56f3;hpb=06b52ebb5fe7c09890dee02aa653578c2faf5a65;p=libsigrokdecode.git diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index e8d1443..c6cf6e5 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -1,7 +1,7 @@ ## ## This file is part of the libsigrokdecode project. ## -## Copyright (C) 2012-2013 Uwe Hermann +## Copyright (C) 2012-2014 Uwe Hermann ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -61,6 +61,11 @@ class Decoder(srd.Decoder): ['unknown-bits', 'Unknown bits'], ['warnings', 'Human-readable warnings'], ] + annotation_rows = ( + ('bits', 'Bits', (17, 18)), + ('fields', 'Fields', tuple(range(0, 16 + 1))), + ('warnings', 'Warnings', (19,)), + ) def __init__(self, **kwargs): self.samplerate = None