From 5cb2cb0209d043b5b3293002ebf305efd59e05b9 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 12 Dec 2013 00:57:04 +0100 Subject: Use new binary class definition format. --- decoders/i2c/pd.py | 8 ++++---- 1 file 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): -- cgit v1.2.3-70-g09d2