summaryrefslogtreecommitdiff
path: root/decoders/dcf77/dcf77.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-05-08 23:53:48 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-05-08 23:53:48 +0200
commitee3e279c7558b388410d16cbce9db6c80e9c0c67 (patch)
treea509cc444ad0af902c2b103e5a9cda315d3c42ce /decoders/dcf77/dcf77.py
parentd274e1bfc2cd0795c62ce304fa01320af16ca396 (diff)
downloadlibsigrokdecode-ee3e279c7558b388410d16cbce9db6c80e9c0c67.tar.gz
libsigrokdecode-ee3e279c7558b388410d16cbce9db6c80e9c0c67.zip
srd: Remove TODOs from annotation format names.
Also, fix minor consistency issues, cosmetics, typos.
Diffstat (limited to 'decoders/dcf77/dcf77.py')
-rw-r--r--decoders/dcf77/dcf77.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/dcf77/dcf77.py b/decoders/dcf77/dcf77.py
index 573888f..a02eb32 100644
--- a/decoders/dcf77/dcf77.py
+++ b/decoders/dcf77/dcf77.py
@@ -24,7 +24,7 @@ import sigrokdecode as srd
import calendar
# Annotation feed formats
-ANN_ASCII = 0
+ANN_TEXT = 0
# Return the specified BCD number (max. 8 bits) as integer.
def bcd2int(b):
@@ -47,8 +47,8 @@ class Decoder(srd.Decoder):
]
options = {}
annotations = [
- # ANN_ASCII
- ['ASCII', 'TODO: description'],
+ # ANN_TEXT
+ ['Text', 'Human-readable text'],
]
def __init__(self, **kwargs):