summaryrefslogtreecommitdiff
path: root/decoders/ds1307
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-04-14 22:14:39 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-04-15 10:43:49 +0200
commit12851357e784b893e24880efc6cd22a0cbcc64ce (patch)
tree9e91131ab8d77f5b350022a3467e6840c070b446 /decoders/ds1307
parentc761524941fcb2237ceb65082e504e5e48e62a05 (diff)
downloadlibsigrokdecode-12851357e784b893e24880efc6cd22a0cbcc64ce.tar.gz
libsigrokdecode-12851357e784b893e24880efc6cd22a0cbcc64ce.zip
All PDs: Bump api_version to 2.
Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc).
Diffstat (limited to 'decoders/ds1307')
-rw-r--r--decoders/ds1307/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py
index 48649bf..68943d4 100644
--- a/decoders/ds1307/pd.py
+++ b/decoders/ds1307/pd.py
@@ -36,7 +36,7 @@ def bcd2int(b):
return (b & 0x0f) + ((b >> 4) * 10)
class Decoder(srd.Decoder):
- api_version = 1
+ api_version = 2
id = 'ds1307'
name = 'DS1307'
longname = 'Dallas DS1307'