diff options
Diffstat (limited to 'decoders/mdio/pd.py')
-rw-r--r-- | decoders/mdio/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/mdio/pd.py b/decoders/mdio/pd.py index 7c2fc5f..3580acc 100644 --- a/decoders/mdio/pd.py +++ b/decoders/mdio/pd.py @@ -62,6 +62,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.illegal_bus = 0 self.samplenum = -1 self.clause45_addr = -1 # Clause 45 is context sensitive. |