]> sigrok.org Git - libsigrokdecode.git/commitdiff
guess_bitrate: Eliminate internal state of the decoder
authorGerhard Sittig <redacted>
Sun, 18 Jun 2017 18:46:40 +0000 (20:46 +0200)
committerUwe Hermann <redacted>
Wed, 21 Jun 2017 15:45:15 +0000 (17:45 +0200)
Getting the first edge outside of the loop in .decode() greatly
simplifies the logic, any other edge then is just an update of the
previously collected data, determined by always equal code.


No differences found