summaryrefslogtreecommitdiff
path: root/decoders/stepper_motor
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/stepper_motor
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/stepper_motor')
-rw-r--r--decoders/stepper_motor/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/stepper_motor/pd.py b/decoders/stepper_motor/pd.py
index 2a1e5f2..99a4b2e 100644
--- a/decoders/stepper_motor/pd.py
+++ b/decoders/stepper_motor/pd.py
@@ -27,7 +27,7 @@ class Decoder(srd.Decoder):
desc = 'Absolute position and movement speed from step/dir.'
license = 'gplv2+'
inputs = ['logic']
- outputs = ['stepper_motor']
+ outputs = []
tags = ['Embedded/industrial']
channels = (
{'id': 'step', 'name': 'Step', 'desc': 'Step pulse'},