summaryrefslogtreecommitdiff
path: root/decoders/graycode
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-02 21:33:58 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-02 21:33:58 +0200
commit6cbba91f23b9f9ace75b4722c9c0776b9211008d (patch)
treeb61ad3b0db87d12860011f20538951d2aef46add /decoders/graycode
parent12a045188f21f42300b4cf25302478e25d15acb6 (diff)
downloadlibsigrokdecode-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/graycode')
-rw-r--r--decoders/graycode/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/graycode/pd.py b/decoders/graycode/pd.py
index 63014a2..055908c 100644
--- a/decoders/graycode/pd.py
+++ b/decoders/graycode/pd.py
@@ -80,7 +80,7 @@ class Decoder(srd.Decoder):
desc = 'Accumulate rotary encoder increments, provide statistics.'
license = 'gplv2+'
inputs = ['logic']
- outputs = ['graycode']
+ outputs = []
tags = ['Encoding']
optional_channels = tuple(
{'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i)}