diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-04-02 21:33:58 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-04-02 21:33:58 +0200 |
commit | 6cbba91f23b9f9ace75b4722c9c0776b9211008d (patch) | |
tree | b61ad3b0db87d12860011f20538951d2aef46add /decoders/pwm | |
parent | 12a045188f21f42300b4cf25302478e25d15acb6 (diff) | |
download | libsigrokdecode-6cbba91f23b9f9ace75b4722c9c0776b9211008d.tar.gz libsigrokdecode-6cbba91f23b9f9ace75b4722c9c0776b9211008d.zip |
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.
Diffstat (limited to 'decoders/pwm')
-rw-r--r-- | decoders/pwm/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'}, |