From 6cbba91f23b9f9ace75b4722c9c0776b9211008d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 2 Apr 2019 21:33:58 +0200 Subject: decoders: Fix incorrect 'outputs' fields. Only add items to 'outputs' if the respective PD actually has OUTPUT_PYTHON support implemented as of right now. Various decoders might get OUTPUT_PYTHON support later, but the 'outputs' field should reflect the current status. --- decoders/nunchuk/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/nunchuk/pd.py') diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index eb99ba5..59b1028 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'Nintendo Wii Nunchuk controller protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['nunchuck'] + outputs = [] tags = ['Sensor'] annotations = \ tuple(('reg-0x%02X' % i, 'Register 0x%02X' % i) for i in range(6)) + ( -- cgit v1.2.3-70-g09d2