X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fspi%2Fpd.py;h=7d84b3d53c123aaff8d3ae5e12099fea6e8e5868;hb=b0918d40e285e7782f4e86356c41648dc748e477;hp=d0e3409a6c8241eafe32001f496720f3180bdfba;hpb=da9bcbd9f45b0153465c55ec726a0d76f6d7f01e;p=libsigrokdecode.git diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index d0e3409..7d84b3d 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -84,9 +84,9 @@ class Decoder(srd.Decoder): 'values': (0, 1)}, {'id': 'cpha', 'desc': 'Clock phase', 'default': 0, 'values': (0, 1)}, - {'id': 'bitorder', 'desc': 'Bit order within the SPI data', + {'id': 'bitorder', 'desc': 'Bit order', 'default': 'msb-first', 'values': ('msb-first', 'lsb-first')}, - {'id': 'wordsize', 'desc': 'Word size of SPI data', 'default': 8}, + {'id': 'wordsize', 'desc': 'Word size', 'default': 8}, ) annotations = ( ('miso-data', 'MISO data'),