From: Uwe Hermann Date: Wed, 1 Feb 2012 18:07:11 +0000 (+0100) Subject: srd: uart: Add missing initialization. X-Git-Tag: libsigrokdecode-0.1.0~71 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1ccef4616d2c6d6fcdfee6a72d051387625678ca;p=libsigrokdecode.git srd: uart: Add missing initialization. --- diff --git a/decoders/uart/uart.py b/decoders/uart/uart.py index f0f40c9..5098977 100644 --- a/decoders/uart/uart.py +++ b/decoders/uart/uart.py @@ -220,6 +220,7 @@ class Decoder(srd.Decoder): self.startbit = [-1, -1] self.cur_data_bit = [0, 0] self.databyte = [0, 0] + self.paritybit = [-1, -1] self.stopbit1 = [-1, -1] self.startsample = [-1, -1]