]> sigrok.org Git - libsigrokdecode.git/commitdiff
all decoders: introduce a reset() method
authorGerhard Sittig <redacted>
Mon, 20 Feb 2017 20:37:05 +0000 (21:37 +0100)
committerUwe Hermann <redacted>
Fri, 22 Dec 2017 11:21:54 +0000 (12:21 +0100)
Move initialization code of protocol decoders from the constructor to a
new reset() helper method. The libsigrokdecode backend could run this
method several times to clear the decoder's internal state, before new
data from another acquisition gets fed to decode() calls.


No differences found