diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-01 19:07:11 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-01 23:18:24 +0100 |
commit | 1ccef4616d2c6d6fcdfee6a72d051387625678ca (patch) | |
tree | bcca0280d0d6782b18e56c88598cf9ecf0098bf6 /decoders/uart | |
parent | b9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633 (diff) | |
download | libsigrokdecode-1ccef4616d2c6d6fcdfee6a72d051387625678ca.tar.gz libsigrokdecode-1ccef4616d2c6d6fcdfee6a72d051387625678ca.zip |
srd: uart: Add missing initialization.
Diffstat (limited to 'decoders/uart')
-rw-r--r-- | decoders/uart/uart.py | 1 |
1 files changed, 1 insertions, 0 deletions
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] |