diff options
Diffstat (limited to 'decoders/can/pd.py')
-rw-r--r-- | decoders/can/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/can/pd.py b/decoders/can/pd.py index 2e58c0a..1495e5e 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -64,8 +64,8 @@ class Decoder(srd.Decoder): self.reset_variables() def start(self): - # self.out_proto = self.add(srd.OUTPUT_PYTHON, 'can') - self.out_ann = self.add(srd.OUTPUT_ANN, 'can') + # self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_ann = self.register(srd.OUTPUT_ANN) def metadata(self, key, value): if key == srd.SRD_CONF_SAMPLERATE: |