From 9f6df6fe1aa837d0506b1b9bef6ee75c951a8da2 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 31 Jan 2014 14:56:17 +0100 Subject: [PATCH] dcf77: Define annotation rows. --- decoders/dcf77/pd.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2