commit | 10aeb8ea8b183394cebc0033f048f49f4262b57d | [log] [tgz] |
---|---|---|
author | Gerhard Sittig <gerhard.sittig@gmx.net> | Mon Feb 20 20:37:05 2017 |
committer | Uwe Hermann <uwe@hermann-uwe.de> | Fri Dec 22 11:21:54 2017 |
tree | f58f049342dd6fce239514ed5dfffdbc573e3ce1 | |
parent | ecb0b96d4a4d0021b41ffebec0df219338aa3724 [diff] |
all decoders: introduce a reset() method 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.