diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/uart/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 0e6e548..151cae4 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -288,7 +288,7 @@ class Decoder(srd.Decoder): self.putbin(rxtx, [rxtx, bytes([b])]) self.putbin(rxtx, [2, bytes([b])]) - self.databits = [[], []] + self.databits[rxtx] = [] def get_parity_bit(self, rxtx, signal): # If no parity is used/configured, skip to the next state immediately. |