diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/spi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/spi.py b/decoders/spi.py index 152b263..4c66196 100644 --- a/decoders/spi.py +++ b/decoders/spi.py @@ -13,10 +13,10 @@ class Decoder(): # Probe names with a set of defaults probes = {'sdata':0, 'sck':1} - def __init__(self, metadata, **kwargs): + def __init__(self, unitsize, **kwargs): # Metadata comes in here, we don't care for now #print kwargs - self.unitsize = metadata['unitsize'] + self.unitsize = unitsize self.probes = Decoder.probes self.oldsck = True |