From b0918d40e285e7782f4e86356c41648dc748e477 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 12 Mar 2014 00:51:06 +0100 Subject: Various PDs: Minor option related fixes. --- decoders/lm75/pd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'decoders/lm75/pd.py') diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index bdd8cb0..449916a 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -49,8 +49,9 @@ class Decoder(srd.Decoder): inputs = ['i2c'] outputs = ['lm75'] options = ( - {'id': 'sensor', 'desc': 'Sensor type', 'default': 'lm75'}, - {'id': 'resolution', 'desc': 'Resolution', 'default': 9, + {'id': 'sensor', 'desc': 'Sensor type', 'default': 'lm75', + 'values': ('lm75',)}, + {'id': 'resolution', 'desc': 'Resolution (bits)', 'default': 9, 'values': (9, 10, 11, 12)}, ) annotations = ( -- cgit v1.2.3-70-g09d2