]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2s_dump/pd.py
Do some more I2C to I²C changes.
[libsigrokdecode.git] / decoders / i2s_dump / pd.py
index 54aee8694bcd2658580116e789b77f9799020769..1661acb39c18ab0121df7223022b6fb5f84de2ad 100644 (file)
@@ -25,9 +25,9 @@ import sys
 class Decoder(srd.Decoder):
     api_version = 1
     id = 'i2s_dump'
-    name = 'I2S dump'
-    longname = 'I2S dump'
-    desc = 'Output decoded I2S data to a file.'
+    name = 'I²S dump'
+    longname = 'I²S dump'
+    desc = 'Output decoded I²S data to a file.'
     license = 'gplv2+'
     inputs = ['i2s']
     outputs = []
@@ -51,14 +51,11 @@ class Decoder(srd.Decoder):
         else:
             return open(filename, 'wb')
 
-    def start(self, metadata):
+    def start(self):
         # A filename of 'none' is not allowed (has special meaning). A filename
         # 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