X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decoders%2Fuart%2Fuart.py;h=24551da6d03e177854e289178173512fa8704b98;hb=6fe6b38cbc3075ebfe4527d07367f8a37c40418d;hp=92c105ca0c0ff380f7e3c7a363063d2f75432069;hpb=2fcd7c22852436c3226de9007e88cb305cce1b00;p=libsigrokdecode.git 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.