diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-28 18:08:51 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-02-13 18:50:54 +0100 |
commit | e710d006ee7edbfa09126c60000b47f7cd65498a (patch) | |
tree | d9008125172d5368562a5264beaee1d23289c0ee | |
parent | 4d5684067445f49490c338838961a3e7fc6f7396 (diff) | |
download | libsigrokdecode-e710d006ee7edbfa09126c60000b47f7cd65498a.tar.gz libsigrokdecode-e710d006ee7edbfa09126c60000b47f7cd65498a.zip |
parallel: expand 'wordsize' description (bits vs cycles)
Users may not know which unit the "wordsize" is supposed to get
specified in. Especially when it's not a number of bits, but instead
the number of bus cycles. Expand the description text accordingly.
-rw-r--r-- | decoders/parallel/pd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 1e0f4eb..0e81344 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -79,7 +79,8 @@ class Decoder(srd.Decoder): options = ( {'id': 'clock_edge', 'desc': 'Clock edge to sample on', 'default': 'rising', 'values': ('rising', 'falling')}, - {'id': 'wordsize', 'desc': 'Data wordsize', 'default': 0}, + {'id': 'wordsize', 'desc': 'Data wordsize (# bus cycles)', + 'default': 0}, {'id': 'endianness', 'desc': 'Data endianness', 'default': 'little', 'values': ('little', 'big')}, ) |