summaryrefslogtreecommitdiff
path: root/decoders/uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/uart.py')
-rw-r--r--decoders/uart.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/decoders/uart.py b/decoders/uart.py
index a72578f..760a590 100644
--- a/decoders/uart.py
+++ b/decoders/uart.py
@@ -411,7 +411,7 @@ class Decoder(srd.Decoder):
def decode(self, ss, es, data): # TODO
# for (samplenum, (rx, tx)) in data:
- for (samplenum, (rx,)) in data:
+ for (samplenum, (rx)) in data:
# TODO: Start counting at 0 or 1? Increase before or after?
self.samplenum += 1
@@ -441,8 +441,3 @@ class Decoder(srd.Decoder):
self.oldrx = rx
# self.oldtx = tx
- # if proto != []:
- # self.put(0, 0, self.out_proto, proto)
- # if ann != []:
- # self.put(0, 0, self.out_ann, ann)
-