summaryrefslogtreecommitdiff
path: root/decoders/dcf77/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-01 14:58:23 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-01 15:59:12 +0100
commitbb5ebde6dce29b53a814efe3a1b1c350196674d9 (patch)
treee8dc660248d1b7292e30189fc18905c2ed872cfc /decoders/dcf77/pd.py
parent011ed1a3b28553b9932b5acbc74c6f19ab4c1eed (diff)
downloadlibsigrokdecode-bb5ebde6dce29b53a814efe3a1b1c350196674d9.tar.gz
libsigrokdecode-bb5ebde6dce29b53a814efe3a1b1c350196674d9.zip
dcf77: Fix incorrect startsample for "month" field.
Diffstat (limited to 'decoders/dcf77/pd.py')
-rw-r--r--decoders/dcf77/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py
index c6cf6e5..21da4f6 100644
--- a/decoders/dcf77/pd.py
+++ b/decoders/dcf77/pd.py
@@ -227,7 +227,7 @@ class Decoder(srd.Decoder):
if c == 49:
m = bcd2int(self.tmp)
mn = calendar.month_name[m] # month_name[1] == January
- self.putx([14, ['Month: %d (%s)' % (m, mn),
+ self.putb([14, ['Month: %d (%s)' % (m, mn),
'Mon: %d (%s)' % (m, mn)]])
elif c in range(50, 57 + 1):
# Year (0-99): DCF77 bits 50-57 (BCD format).