diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-14 07:40:03 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-18 21:09:40 +0200 |
commit | bb6f9c500e4119aa9558dfc66ba82bf7ef3772c5 (patch) | |
tree | ddc79a87e934c51820f994bff0ab658db3c50534 /decoders/rc_encode/__init__.py | |
parent | 4f139c2887542954b7bea19ef22495033ea59261 (diff) | |
download | libsigrokdecode-bb6f9c500e4119aa9558dfc66ba82bf7ef3772c5.tar.gz libsigrokdecode-bb6f9c500e4119aa9558dfc66ba82bf7ef3772c5.zip |
i2cfilter: rephrase decoder implementation for maintainability
The previous implementation suffered from a severe issue (it kept
referencing caller's data beyond its validity) and from style issues
(redundant details, conditions scattered across distant locations).
Rephrase (actually rework) the decoder implementation to improve
readability as well as maintainability. Extend the TODO list while
the existing logic better lends itself to future extensions. Reword
comments while we are here. Some earlier constraints no longer apply
or were unfortunately phrased.
Diffstat (limited to 'decoders/rc_encode/__init__.py')
0 files changed, 0 insertions, 0 deletions