summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-12 00:57:04 +0100
committerBert Vermeulen <bert@biot.com>2013-12-12 00:57:04 +0100
commit5cb2cb0209d043b5b3293002ebf305efd59e05b9 (patch)
tree611a12a09c923da52175c9a19783f80a3aaa244b
parent1f2275dd284326fb3ccda6b2bf17a495d5c2de75 (diff)
downloadlibsigrokdecode-5cb2cb0209d043b5b3293002ebf305efd59e05b9.tar.gz
libsigrokdecode-5cb2cb0209d043b5b3293002ebf305efd59e05b9.zip
Use new binary class definition format.
-rw-r--r--decoders/i2c/pd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py
index 45b84e8..ff76973 100644
--- a/decoders/i2c/pd.py
+++ b/decoders/i2c/pd.py
@@ -93,10 +93,10 @@ class Decoder(srd.Decoder):
['warnings', 'Human-readable warnings'],
]
binary = (
- 'Address read',
- 'Address write',
- 'Data read',
- 'Data write',
+ ('address-read', 'Address read'),
+ ('address-write', 'Address write'),
+ ('data-read', 'Data read'),
+ ('data-write', 'Data write'),
)
def __init__(self, **kwargs):