From: Uwe Hermann Date: Thu, 3 Nov 2016 23:19:51 +0000 (+0100) Subject: ps2: Neither the clock nor the data pin is optional. X-Git-Tag: libsigrokdecode-0.5.0~128 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f90269a38093e9c27abbf1bc8737ebe963986ec9;p=libsigrokdecode.git ps2: Neither the clock nor the data pin is optional. --- 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'}, )