summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-11-04 00:19:51 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2016-11-04 22:56:48 +0100
commitf90269a38093e9c27abbf1bc8737ebe963986ec9 (patch)
tree058f6afeb48b8bd6127b6aa4c79121a56a7cb6f9 /decoders
parent1a751158ad36a77caf6c4f8ebe5b02978142f2e7 (diff)
downloadlibsigrokdecode-f90269a38093e9c27abbf1bc8737ebe963986ec9.tar.gz
libsigrokdecode-f90269a38093e9c27abbf1bc8737ebe963986ec9.zip
ps2: Neither the clock nor the data pin is optional.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/ps2/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ps2/pd.py b/decoders/ps2/pd.py
index 5b15c6e..6ef51e2 100644
--- a/decoders/ps2/pd.py
+++ b/decoders/ps2/pd.py
@@ -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'},
)