diff options
Diffstat (limited to 'decoders/swd')
-rw-r--r-- | decoders/swd/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/swd/pd.py b/decoders/swd/pd.py index 22aad45..0f7bc22 100644 --- a/decoders/swd/pd.py +++ b/decoders/swd/pd.py @@ -92,6 +92,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): # SWD data/clock state self.state = 'UNKNOWN' self.sample_edge = RISING |