From 1ccef4616d2c6d6fcdfee6a72d051387625678ca Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 1 Feb 2012 19:07:11 +0100 Subject: srd: uart: Add missing initialization. --- decoders/uart/uart.py | 1 + 1 file changed, 1 insertion(+) (limited to 'decoders/uart/uart.py') 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] -- cgit v1.2.3-70-g09d2