From 366580f2617432561b0a93bc32e56f83895a7e48 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 11 May 2016 18:39:02 +0200 Subject: wiegand: Make bitwidth_ms option values integer (not string). --- decoders/wiegand/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders') 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'), -- cgit v1.2.3-70-g09d2