diff options
Diffstat (limited to 'decoders/i2c/pd.py')
-rw-r--r-- | decoders/i2c/pd.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index 2db7d21..9cbdd53 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -77,9 +77,10 @@ class Decoder(srd.Decoder): {'id': 'sda', 'name': 'SDA', 'desc': 'Serial data line'}, ] optional_probes = [] - options = { - 'address_format': ['Displayed slave address format', 'shifted'], - } + options = ( + {'id': 'address_format', 'desc': 'Displayed slave address format', + 'default': 'shifted', 'values': ('shifted', 'unshifted')}, + ) annotations = [ ['start', 'Start condition'], ['repeat-start', 'Repeat start condition'], |