summaryrefslogtreecommitdiff
path: root/decoders/ds1307
diff options
context:
space:
mode:
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 07bdebc..8652d1b 100644
--- a/decoders/ds1307/pd.py
+++ b/decoders/ds1307/pd.py
@@ -64,7 +64,7 @@ class Decoder(srd.Decoder):
self.years = -1
def start(self):
- self.out_ann = self.add(srd.OUTPUT_ANN, 'ds1307')
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def report(self):
pass