summaryrefslogtreecommitdiff
path: root/decoders/dcf77/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2023-07-14 07:40:03 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2023-07-18 21:09:40 +0200
commitbb6f9c500e4119aa9558dfc66ba82bf7ef3772c5 (patch)
treeddc79a87e934c51820f994bff0ab658db3c50534 /decoders/dcf77/pd.py
parent4f139c2887542954b7bea19ef22495033ea59261 (diff)
downloadlibsigrokdecode-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/dcf77/pd.py')
0 files changed, 0 insertions, 0 deletions