diff options
Diffstat (limited to 'decoders/sdcard_sd/pd.py')
-rw-r--r-- | decoders/sdcard_sd/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py index 2382a15..9402f7e 100644 --- a/decoders/sdcard_sd/pd.py +++ b/decoders/sdcard_sd/pd.py @@ -61,6 +61,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'GET COMMAND TOKEN' self.token = [] self.is_acmd = False # Indicates CMD vs. ACMD |