summaryrefslogtreecommitdiff
path: root/decoders/ir_rc5/lists.py
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/ir_rc5/lists.py
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/ir_rc5/lists.py')
0 files changed, 0 insertions, 0 deletions