summaryrefslogtreecommitdiff
path: root/decoders/ps2
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2017-06-18 20:46:40 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-21 17:45:15 +0200
commitce7018ca10f6c81f16e29db1e05a99192ce671d4 (patch)
tree1b01c5006a9f089f89dad0bf1206216d95b09604 /decoders/ps2
parentcbca32378d7b18a793057a7f6c4a7a19efa53376 (diff)
downloadlibsigrokdecode-ce7018ca10f6c81f16e29db1e05a99192ce671d4.tar.gz
libsigrokdecode-ce7018ca10f6c81f16e29db1e05a99192ce671d4.zip
guess_bitrate: Eliminate internal state of the decoder
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.
Diffstat (limited to 'decoders/ps2')
0 files changed, 0 insertions, 0 deletions