diff options
author | Bert Vermeulen <bert@biot.com> | 2013-11-14 17:25:53 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-11-15 22:05:54 +0100 |
commit | be465111b552c7c2a2262ac49758a30a8bf1b1d5 (patch) | |
tree | bd2b8782a9304574fd8309b10c6e4d14a6d3e16c /decoders/xfp | |
parent | 8a3c879201df27615f30b7c6b3a4072526c0e378 (diff) | |
download | libsigrokdecode-be465111b552c7c2a2262ac49758a30a8bf1b1d5.tar.gz libsigrokdecode-be465111b552c7c2a2262ac49758a30a8bf1b1d5.zip |
Use the new Decoder.register() API
Diffstat (limited to 'decoders/xfp')
-rw-r--r-- | decoders/xfp/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py index abbf626..6230523 100644 --- a/decoders/xfp/pd.py +++ b/decoders/xfp/pd.py @@ -277,7 +277,7 @@ class Decoder(srd.Decoder): } def start(self): - self.out_ann = self.add(srd.OUTPUT_ANN, 'xfp') + self.out_ann = self.register(srd.OUTPUT_ANN) def decode(self, ss, es, data): cmd, data = data |