diff options
Diffstat (limited to 'decoders/uart.py')
-rw-r--r-- | decoders/uart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/uart.py b/decoders/uart.py index e2f33d7..896cd0a 100644 --- a/decoders/uart.py +++ b/decoders/uart.py @@ -258,8 +258,8 @@ class Decoder(sigrokdecode.Decoder): def start(self, metadata): self.samplerate = metadata['samplerate'] - self.out_proto = self.output_new(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'uart') - self.out_ann = self.output_new(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'uart') + self.out_proto = self.add(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'uart') + self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'uart') # TODO ### self.baudrate = metadata['baudrate'] |