From: Gerhard Sittig Date: Tue, 14 Mar 2017 14:33:07 +0000 (+0100) Subject: uart: Remove an obsolete unused routine X-Git-Tag: libsigrokdecode-0.5.0~64 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cf60d0bc17b1a8e316ab5ef054f07a5fa59d1585;p=libsigrokdecode.git uart: Remove an obsolete unused routine --- diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index e767699..070a2f4 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -199,12 +199,6 @@ class Decoder(srd.Decoder): return True return False - def reached_bit_last(self, rxtx, bitnum): - bitpos = self.frame_start[rxtx] + ((bitnum + 1) * self.bit_width) - if self.samplenum >= bitpos: - return True - return False - def wait_for_start_bit(self, rxtx, old_signal, signal): # The start bit is always 0 (low). As the idle UART (and the stop bit) # level is 1 (high), the beginning of a start bit is a falling edge.