]> sigrok.org Git - libsigrokdecode.git/commitdiff
Drop obsolete report() method.
authorBert Vermeulen <redacted>
Thu, 14 Nov 2013 20:56:21 +0000 (21:56 +0100)
committerBert Vermeulen <redacted>
Fri, 15 Nov 2013 21:05:55 +0000 (22:05 +0100)
31 files changed:
decoders/avr_isp/pd.py
decoders/can/pd.py
decoders/dcf77/pd.py
decoders/ds1307/pd.py
decoders/edid/pd.py
decoders/guess_bitrate/pd.py
decoders/i2c/pd.py
decoders/i2cdemux/pd.py
decoders/i2cfilter/pd.py
decoders/i2s_dump/pd.py
decoders/jtag/pd.py
decoders/jtag_stm32/pd.py
decoders/lpc/pd.py
decoders/maxim_ds28ea00/pd.py
decoders/midi/pd.py
decoders/mlx90614/pd.py
decoders/mx25lxx05d/pd.py
decoders/mxc6225xu/pd.py
decoders/nunchuk/pd.py
decoders/onewire_link/pd.py
decoders/onewire_network/pd.py
decoders/pan1321/pd.py
decoders/parallel/pd.py
decoders/rtc8564/pd.py
decoders/sdcard_spi/pd.py
decoders/tlc5620/pd.py
decoders/transitioncounter/pd.py
decoders/uart/pd.py
decoders/uart_dump/pd.py
decoders/usb_packet/pd.py
decoders/usb_signalling/pd.py

index 789a7f9b1ac893b2879c5665b8184efd31fcec43..5c2fd3afe63a7d7bb30e00e7f89579c02ead26b4 100644 (file)
@@ -54,9 +54,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.cmd_ss, self.cmd_es, self.out_ann, data)
 
index 1495e5e7eaf26805f3c752aedc768605365746e5..ee32e7ab51b4a0006288323d661581a3ba0d6d80 100644 (file)
@@ -73,9 +73,6 @@ class Decoder(srd.Decoder):
             self.bit_width = float(self.samplerate) / float(self.options['bitrate'])
             self.bitpos = (self.bit_width / 100.0) * self.options['sample_point']
 
-    def report(self):
-        pass
-
     # Generic helper for CAN bit annotations.
     def putg(self, ss, es, data):
         left, right = int(self.bitpos), int(self.bit_width - self.bitpos)
index b708fbc790ea3cf5dcedcb92c3884b6cf0de00c8..64643606113f7671fadec5ab8453c8306406ee8d 100644 (file)
@@ -83,9 +83,6 @@ class Decoder(srd.Decoder):
         if key == srd.SRD_CONF_SAMPLERATE:
             self.samplerate = value
 
-    def report(self):
-        pass
-
     def putx(self, data):
         # Annotation for a single DCF77 bit.
         self.put(self.ss_bit, self.es_bit, self.out_ann, data)
index 8652d1b8fc6426644f20a486496e0d01ca17e1fd..bb904e7e4d17d0f9cddd91c744bca2a02d016039 100644 (file)
@@ -66,9 +66,6 @@ class Decoder(srd.Decoder):
     def start(self):
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)
 
index 704f3505a164f167273a1333c2423c895ba84e9d..323834b870c1adb76c1de742f8eb1bc8a5ebb76f 100644 (file)
@@ -103,9 +103,6 @@ class Decoder(srd.Decoder):
     def start(self):
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def decode(self, ss, es, data):
         cmd, data = data
 
index 9acce50ae5cc1b1e93716d249ef7eb84ceaac534..e30be124e10160f08769937bd0fc8a4a0a6c5800 100644 (file)
@@ -54,9 +54,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def decode(self, ss, es, data):
         for (self.samplenum, pins) in data:
 
index dc7c5b549e1c8834a42f8f1699eac82675d43f2f..9f8cbaff36434758f0c5f0d9876c10b9cb14d4b3 100644 (file)
@@ -118,9 +118,6 @@ class Decoder(srd.Decoder):
         self.out_bitrate = self.register(srd.OUTPUT_META,
                 meta=(int, 'Bitrate', 'Bitrate from Start bit to Stop bit'))
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.startsample, self.samplenum, self.out_ann, data)
 
index d86c59781728fa93c52b4c888ab7c070f5455029..3904643f4947c827727ec882a8037f412251f3a9 100644 (file)
@@ -45,9 +45,6 @@ class Decoder(srd.Decoder):
     def start(self):
         self.out_proto = []
 
-    def report(self):
-        pass
-
     # Grab I2C packets into a local cache, until an I2C STOP condition
     # packet comes along. At some point before that STOP condition, there
     # will have been an ADDRESS READ or ADDRESS WRITE which contains the
index 4fe3a9c94e39679edfc6970ee1c25227ed661a76..664bbcd97286adfd97670332feb1c515529d0ec0 100644 (file)
@@ -54,9 +54,6 @@ class Decoder(srd.Decoder):
         if self.options['direction'] not in ('both', 'read', 'write'):
             raise Exception('Invalid direction (valid: read/write/both).')
 
-    def report(self):
-        pass
-
     # Grab I2C packets into a local cache, until an I2C STOP condition
     # packet comes along. At some point before that STOP condition, there
     # will have been an ADDRESS READ or ADDRESS WRITE which contains the
index bbeefbea82113fa3a08655332792e2c7f0eb1db3..d922a072133830931a13c7b0e688bbcf9645c748 100644 (file)
@@ -56,9 +56,6 @@ class Decoder(srd.Decoder):
         # of '-' means 'stdout'.
         self.f = self.file_open(self.options['filename'])
 
-    def report(self):
-        pass
-
     # TODO: Lots of hard-coded fields in here.
     def write_wav_header(self):
         # Chunk descriptor
index 5d4ee8e71eea751b1a844f1a8534cf23d864f97c..8403add7e2ed987b32f1481d01de9dd5a8c59ee5 100644 (file)
@@ -60,9 +60,6 @@ class Decoder(srd.Decoder):
         self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def advance_state_machine(self, tms):
         self.oldstate = self.state
 
index 3daa024b742a301dcc53fd3f074eebc9eaf08fca..aa746e095cce02e77ba7864b7c6a6f1e15eb13f0 100644 (file)
@@ -144,9 +144,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def handle_reg_bypass(self, cmd, bits):
         # TODO
         self.put(self.ss, self.es, self.out_ann, [0, ['BYPASS: ' + bits]])
index 313b7d26071d417d4fec8dc13921792c221c79d5..f097574b6bdbd6aa558fe0eb39ca3bd67a95d5b5 100644 (file)
@@ -154,9 +154,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putb(self, data):
         self.put(self.ss_block, self.es_block, self.out_ann, data)
 
index 69ace697d18a93d278d446412c25bf167e77cbc1..a67e70e87f89f525ad789222440a5c8764a26602 100644 (file)
@@ -67,9 +67,6 @@ class Decoder(srd.Decoder):
     def start(self):
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)
 
index 6f2f1c71b35381e12f4b7bf5871da057dca79811..7c4fa9afd794cfc6e0739e3398bddef6e46eb32b 100644 (file)
@@ -55,9 +55,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss_block, self.es_block, self.out_ann, data)
 
index f0bed5c653a801a86f3d220cd8fcb46de69c11b1..57c96bce40adfee7ee08a5c4b20bb02626a84fb4 100644 (file)
@@ -47,9 +47,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)
 
index 68335d4d0bd3ab90ee2736126f53b9d88f16aad4..1b6c6acd483663f728a87fc27714b54a0790d2cd 100644 (file)
@@ -114,9 +114,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         # Simplification, most annotations span exactly one SPI byte/packet.
         self.put(self.ss, self.es, self.out_ann, data)
index de7efafc9bdab7f83eb46fadda50d592267c9e3e..8b119e8bb8670c104024680326bdb65e46070bfb 100644 (file)
@@ -86,9 +86,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)
 
index 78eacea123497ccee1395eda449fe7d2c8adb1fa..5c719cbd79ccdd18bb827eabbe31ef02889a7516 100644 (file)
@@ -51,9 +51,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         # Helper for annotations which span exactly one I2C packet.
         self.put(self.ss, self.es, self.out_ann, data)
index bc44ce9317856caa536a01b8ae59658e6b5724f4..9c4913ce422a6dfd287896e41d7c49f59d5f98e4 100644 (file)
@@ -173,9 +173,6 @@ class Decoder(srd.Decoder):
                  '(%2.1fus-%2.1fus) should be inside (7.3us, 10.0us).'
                  % (time_min*1000000, time_max*1000000)]])
 
-    def report(self):
-        pass
-
     def decode(self, ss, es, data):
         if self.samplerate is None:
             raise Exception("Cannot decode without samplerate.")
index 6ab8f8e2550dc5194a5fc7223e66685db09b6157..67dfe45ffaa27b17debe49943d4ed6d6d94223bd 100644 (file)
@@ -65,9 +65,6 @@ class Decoder(srd.Decoder):
         self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         # Helper function for most annotations.
         self.put(self.beg, self.end, self.out_ann, data)
index d9700b2fe0edfe72f52e41e8be1be2b83b2a6c51..4d9dc9ddcc6233f7a275b1f0b20d56ce26b7cc47 100644 (file)
@@ -52,9 +52,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss_block, self.es_block, self.out_ann, data)
 
index 9c203543f21a65593df2eea5b753dc1a1c32b6f4..f4ddb1e4b324a898e59631983c097323f485c39a 100644 (file)
@@ -102,9 +102,6 @@ class Decoder(srd.Decoder):
         self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putpb(self, data):
         self.put(self.ss_item, self.es_item, self.out_proto, data)
 
index 3abd1d8b8ed8f288b82ba08af16f3c2bad027ef9..16bbd65a0827084e9c980b9047cbb72872b11a0d 100644 (file)
@@ -59,9 +59,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)
 
index de3adbdd86fe5922ff0b96f719ce4b889cf2e1cf..3ffa1e5774d0528736450cde7919258ee6ed8bde 100644 (file)
@@ -101,9 +101,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def putx(self, data):
         self.put(self.cmd_ss, self.cmd_es, self.out_ann, data)
 
index 395267dedb883797ec58f13e97fab4511f4d759a..5c9b819b8b18e7ddad304cf587655036ef9ff9f2 100644 (file)
@@ -68,9 +68,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def handle_11bits(self):
         s = "".join(str(i) for i in self.bits[:2])
         self.dac_select = s = dacs[int(s, 2)]
index 09164c0b1bd2f65e6d911200f17ae7590964a4a7..7dd88edb3ed4b7e4b219d29dd76a507a1efd8b78 100644 (file)
@@ -46,9 +46,6 @@ class Decoder(srd.Decoder):
         # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def decode(self, ss, es, data):
 
         for (samplenum, s) in data:
index 89027806bf63a0da710114a5bca5225d36dd8b29..f01048038726b006a96ddc03f2d8b210299d4ac8 100644 (file)
@@ -141,9 +141,6 @@ class Decoder(srd.Decoder):
             # The width of one UART bit in number of samples.
             self.bit_width = float(self.samplerate) / float(self.options['baudrate'])
 
-    def report(self):
-        pass
-
     # Return true if we reached the middle of the desired bit, false otherwise.
     def reached_bit(self, rxtx, bitnum):
         # bitpos is the samplenumber which is in the middle of the
index ebbcb3367d7819a17f7ca8c8506304c2d3711225..96a5e3cd4aae8bd70b193e1031aa0a3d4d3c25a3 100644 (file)
@@ -75,9 +75,6 @@ class Decoder(srd.Decoder):
         self.f_rx = self.file_open(self.options['filename_rx'])
         self.f_tx = self.file_open(self.options['filename_tx'])
 
-    def report(self):
-        pass
-
     def decode(self, ss, es, data):
         ptype, rxtx, pdata = data
 
index 8e981ee41b325ef66178f36d6cc2a39e775b5c30..c651a7dade15903733bf9175351630c22fa42794 100644 (file)
@@ -179,9 +179,6 @@ class Decoder(srd.Decoder):
         self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def handle_packet(self):
         packet = ''
         for (bit, ss, es) in self.bits:
index 3760dea85c64a3fe5f1a97cc13f7f607e68a1a6a..4fbc8a3538d607c6fb2356ef33b82d96d306a19f 100644 (file)
@@ -119,9 +119,6 @@ class Decoder(srd.Decoder):
             self.bitwidth = float(self.samplerate) / float(self.bitrate)
             self.halfbit = int(self.bitwidth / 2)
 
-    def report(self):
-        pass
-
     def putpx(self, data):
         self.put(self.samplenum, self.samplenum, self.out_proto, data)