summaryrefslogtreecommitdiff
path: root/decoders/dcf77/dcf77.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:41:46 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:48:11 +0100
commita2c2afd9357fab233a4f09531618faa81d54d4d9 (patch)
tree83adc417308ca8afd4181bd2262af89bf360bd53 /decoders/dcf77/dcf77.py
parent64c29e28e0efa184319f7831b3eca18c7f73f7d0 (diff)
downloadlibsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.tar.gz
libsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.zip
srd: Add 'api_version = 1' to all PDs.
Diffstat (limited to 'decoders/dcf77/dcf77.py')
-rw-r--r--decoders/dcf77/dcf77.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoders/dcf77/dcf77.py b/decoders/dcf77/dcf77.py
index 48b3bba..b7e029d 100644
--- a/decoders/dcf77/dcf77.py
+++ b/decoders/dcf77/dcf77.py
@@ -45,6 +45,7 @@ def bcd2int(b):
return (b & 0x0f) + ((b >> 4) * 10)
class Decoder(srd.Decoder):
+ api_version = 1
id = 'dcf77'
name = 'DCF77'
longname = 'DCF77 time protocol'