diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-11 18:39:02 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-11 18:39:02 +0200 |
commit | 366580f2617432561b0a93bc32e56f83895a7e48 (patch) | |
tree | 68acba9af7c79f4cbcff89a5308a85006c791eb4 /decoders/wiegand | |
parent | 1b1de5693cc7229c01502b23bc659a3b09af8868 (diff) | |
download | libsigrokdecode-366580f2617432561b0a93bc32e56f83895a7e48.tar.gz libsigrokdecode-366580f2617432561b0a93bc32e56f83895a7e48.zip |
wiegand: Make bitwidth_ms option values integer (not string).
Diffstat (limited to 'decoders/wiegand')
-rw-r--r-- | decoders/wiegand/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/wiegand/pd.py b/decoders/wiegand/pd.py index 6194194..1f03651 100644 --- a/decoders/wiegand/pd.py +++ b/decoders/wiegand/pd.py @@ -37,7 +37,7 @@ class Decoder(srd.Decoder): {'id': 'active', 'desc': 'Data lines active level', 'default': 'low', 'values': ('low', 'high')}, {'id': 'bitwidth_ms', 'desc': 'Single bit width in milliseconds', - 'default': '4', 'values': ('1', '2', '4', '8', '16', '32')}, + 'default': 4, 'values': (1, 2, 4, 8, 16, 32)}, ) annotations = ( ('bits', 'Bits'), |