summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-01 19:07:11 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-01 23:18:24 +0100
commit1ccef4616d2c6d6fcdfee6a72d051387625678ca (patch)
treebcca0280d0d6782b18e56c88598cf9ecf0098bf6 /decoders
parentb9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633 (diff)
downloadlibsigrokdecode-1ccef4616d2c6d6fcdfee6a72d051387625678ca.tar.gz
libsigrokdecode-1ccef4616d2c6d6fcdfee6a72d051387625678ca.zip
srd: uart: Add missing initialization.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/uart/uart.py1
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]