From: Bert Vermeulen Date: Wed, 11 Dec 2013 23:57:04 +0000 (+0100) Subject: Use new binary class definition format. X-Git-Tag: libsigrokdecode-0.3.0~192 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5cb2cb0209d043b5b3293002ebf305efd59e05b9;p=libsigrokdecode.git Use new binary class definition format. --- 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):