From b08272363131621c7571a02ac752e727e0ed54df Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 31 Aug 2012 11:34:46 +0200 Subject: srd: uart: Fix regression. Thanks Iztok Jeras for the report. --- decoders/uart/uart.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'decoders/uart') diff --git a/decoders/uart/uart.py b/decoders/uart/uart.py index 92c105c..24551da 100644 --- a/decoders/uart/uart.py +++ b/decoders/uart/uart.py @@ -268,9 +268,10 @@ class Decoder(srd.Decoder): # TODO: Either RX or TX could be omitted (optional probe). for (self.samplenum, pins) in data: - # Ignore identical samples early on (for performance reasons). - if self.oldpins == pins: - continue + # Note: Ignoring identical samples here for performance reasons + # is not possible for this PD, at least not in the current state. + # if self.oldpins == pins: + # continue self.oldpins, (rx, tx) = pins, pins # First sample: Save RX/TX value. -- cgit v1.2.3-70-g09d2