diff options
author | Bert Vermeulen <bert@biot.com> | 2013-12-12 00:57:04 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-12-12 00:57:04 +0100 |
commit | 5cb2cb0209d043b5b3293002ebf305efd59e05b9 (patch) | |
tree | 611a12a09c923da52175c9a19783f80a3aaa244b | |
parent | 1f2275dd284326fb3ccda6b2bf17a495d5c2de75 (diff) | |
download | libsigrokdecode-5cb2cb0209d043b5b3293002ebf305efd59e05b9.tar.gz libsigrokdecode-5cb2cb0209d043b5b3293002ebf305efd59e05b9.zip |
Use new binary class definition format.
-rw-r--r-- | decoders/i2c/pd.py | 8 |
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): |