summaryrefslogtreecommitdiff
path: root/decoders/lm75/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-03-12 00:51:06 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-03-12 01:11:07 +0100
commitb0918d40e285e7782f4e86356c41648dc748e477 (patch)
treee865ff66623b9a0a621d3776e8d8b2b47f8e95d8 /decoders/lm75/pd.py
parent4e4f8527de0927f2eb1d98e90b58e018ba28d341 (diff)
downloadlibsigrokdecode-b0918d40e285e7782f4e86356c41648dc748e477.tar.gz
libsigrokdecode-b0918d40e285e7782f4e86356c41648dc748e477.zip
Various PDs: Minor option related fixes.
Diffstat (limited to 'decoders/lm75/pd.py')
-rw-r--r--decoders/lm75/pd.py5
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 = (