From: Uwe Hermann Date: Thu, 12 Dec 2019 21:19:58 +0000 (+0100) Subject: can: Drop an unused method. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=db96409f3235cca47d7fbf3394ab511ae23f21ae;p=libsigrokdecode.git can: Drop an unused method. --- diff --git a/decoders/can/pd.py b/decoders/can/pd.py index 8817097..5d45c56 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -140,10 +140,6 @@ class Decoder(srd.Decoder): self.dom_edge_snum = self.samplenum self.dom_edge_bcount = self.curbit - def bit_sampled(self): - # EMPTY - pass - # Determine the position of the next desired bit's sample point. def get_sample_point(self, bitnum): samplenum = self.dom_edge_snum @@ -502,4 +498,3 @@ class Decoder(srd.Decoder): self.dom_edge_seen() if self.matched[0]: self.handle_bit(can_rx) - self.bit_sampled()