diff options
Diffstat (limited to 'decoders/uart')
-rw-r--r-- | decoders/uart/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 9b3a6bd..4c37c34 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -284,8 +284,8 @@ class Decoder(srd.Decoder): elif f == 'bin': self.putx(rxtx, [rxtx, [bin(b)[2:].zfill(8)]]) - self.putbin(rxtx, (rxtx, bytes([b]))) - self.putbin(rxtx, (2, bytes([b]))) + self.putbin(rxtx, [rxtx, bytes([b])]) + self.putbin(rxtx, [2, bytes([b])]) self.databits = [[], []] |