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/ds1307 | |
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/ds1307')
-rw-r--r-- | decoders/ds1307/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py index 556d593..f8ebe19 100644 --- a/decoders/ds1307/pd.py +++ b/decoders/ds1307/pd.py @@ -59,7 +59,7 @@ class Decoder(srd.Decoder): desc = 'Dallas DS1307 realtime clock module protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['ds1307'] + outputs = [] tags = ['Clock/timing', 'IC'] annotations = regs_and_bits() + ( ('read-datetime', 'Read date/time'), |