]> sigrok.org Git - libsigrokdecode.git/commitdiff
can: Drop an unused method.
authorUwe Hermann <redacted>
Thu, 12 Dec 2019 21:19:58 +0000 (22:19 +0100)
committerUwe Hermann <redacted>
Thu, 12 Dec 2019 21:20:39 +0000 (22:20 +0100)
decoders/can/pd.py

index 8817097b50e48cef770c031fe2f0efcb7113def9..5d45c56d59e709243c545699708bd50a19d11791 100644 (file)
@@ -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()