]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/pan1321/pd.py
Remove unused probes and options
[libsigrokdecode.git] / decoders / pan1321 / pd.py
index 4d9dc9ddcc6233f7a275b1f0b20d56ce26b7cc47..e7ccd60378070035e57d76337034a8cd1814ddb8 100644 (file)
@@ -18,8 +18,6 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-# Panasonic PAN1321 Bluetooth module protocol decoder
-
 import sigrokdecode as srd
 
 # ...
@@ -35,13 +33,10 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['uart']
     outputs = ['pan1321']
-    probes = []
-    optional_probes = []
-    options = {}
     annotations = [
-        ['Text (verbose)', 'Human-readable text (verbose)'],
-        ['Text', 'Human-readable text'],
-        ['Warnings', 'Human-readable warnings'],
+        ['text-verbose', 'Human-readable text (verbose)'],
+        ['text', 'Human-readable text'],
+        ['warnings', 'Human-readable warnings'],
     ]
 
     def __init__(self, **kwargs):
@@ -49,7 +44,7 @@ class Decoder(srd.Decoder):
         self.ss_block = None
 
     def start(self):
-        # self.out_proto = self.register(srd.OUTPUT_PYTHON)
+        # self.out_python = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def putx(self, data):