diff options
Diffstat (limited to 'decoders/lm75')
-rw-r--r-- | decoders/lm75/pd.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 = ( |