X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Faud%2Fpd.py;h=30c32f5fcc89d46d89a6555f00a5fcaac2ac4723;hb=fe9160d567fbb4c890ac7b8bc2e1f2f9143f0935;hp=15fce85d675e03593bf9828872a9944d43854a36;hpb=86e7c29c4c80fe20d5e75db129f5e12398dfefb3;p=libsigrokdecode.git diff --git a/decoders/aud/pd.py b/decoders/aud/pd.py index 15fce85..30c32f5 100644 --- a/decoders/aud/pd.py +++ b/decoders/aud/pd.py @@ -14,8 +14,7 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## # TODO: @@ -47,6 +46,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.ncnt = 0 self.nmax = 0 self.addr = 0