summaryrefslogtreecommitdiff
path: root/decoders/uart
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/uart')
-rw-r--r--decoders/uart/pd.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index ae99874..ff8a516 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -360,8 +360,6 @@ class Decoder(srd.Decoder):
self.get_parity_bit(rxtx, signal)
elif self.state[rxtx] == 'GET STOP BITS':
self.get_stop_bits(rxtx, signal)
- else:
- raise Exception('Invalid state: %s' % self.state[rxtx])
# Save current RX/TX values for the next round.
self.oldbit[rxtx] = signal