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/pwm/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/pwm') diff --git a/decoders/pwm/pd.py b/decoders/pwm/pd.py index 2ea59b3..d8626ee 100644 --- a/decoders/pwm/pd.py +++ b/decoders/pwm/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'Analog level encoded in duty cycle percentage.' license = 'gplv2+' inputs = ['logic'] - outputs = ['pwm'] + outputs = [] tags = ['Encoding'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, -- cgit v1.2.3-70-g09d2