From a2d2aff27099449deb1a791b3adc05ee610861e6 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 14 Jan 2012 21:34:06 +0100 Subject: srd: I2C: No need for underscores in string cmds. --- decoders/uart.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'decoders/uart.py') 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) - -- cgit v1.2.3-70-g09d2