]> sigrok.org Git - libsigrokdecode.git/commitdiff
ps2: Neither the clock nor the data pin is optional.
authorUwe Hermann <redacted>
Thu, 3 Nov 2016 23:19:51 +0000 (00:19 +0100)
committerUwe Hermann <redacted>
Fri, 4 Nov 2016 21:56:48 +0000 (22:56 +0100)
decoders/ps2/pd.py

index 5b15c6e79373b2159234f6fca8dd4e8f345f3d45..6ef51e28dca70c73e3899c76479aca84a1093694 100644 (file)
@@ -32,7 +32,7 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['logic']
     outputs = ['ps2']
-    optional_channels = (
+    channels = (
         {'id': 'clk', 'name': 'Clock', 'desc': 'Clock line'},
         {'id': 'data', 'name': 'Data', 'desc': 'Data line'},
     )