X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fspiflash%2Fpd.py;h=07934c52c149e206cd008a52c68f12ab54075e2e;hb=218b51394cd9c23a18e21815bf8ab5cd716040d3;hp=8e2b041225876f2e376359f51694be840de16739;hpb=b197383cfb39b39ff04644855eef57f5d3c18bc1;p=libsigrokdecode.git diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index 8e2b041..07934c5 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -98,6 +98,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.device_id = -1 self.on_end_transaction = None self.end_current_transaction()