From: Gerhard Sittig Date: Thu, 28 Dec 2017 17:08:51 +0000 (+0100) Subject: parallel: expand 'wordsize' description (bits vs cycles) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e710d006ee7edbfa09126c60000b47f7cd65498a;p=libsigrokdecode.git 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. --- 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')}, )