diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-01-13 20:12:07 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-01-13 20:25:09 +0100 |
commit | 88b62601d661281be74fde8e3913e66dbe2fa7b4 (patch) | |
tree | 9d92c75445db963e3a9cbf976951063dd2fc5670 /decoders/adxl345/pd.py | |
parent | 93dd1225b285cdddaf9fc7f0bfa9cd6848595585 (diff) | |
download | libsigrokdecode-88b62601d661281be74fde8e3913e66dbe2fa7b4.tar.gz libsigrokdecode-88b62601d661281be74fde8e3913e66dbe2fa7b4.zip |
seven_segment: cosmetics in decode(), reduce redundancy
"Un-clutter" the decode() routine. Group related instructions to improve
readability. Drop redundant statements where common code can handle all
cases. Also fixes an unconditional access to the optional decimal point
input signal (which had caused a runtime error, and ceased decoding).
Diffstat (limited to 'decoders/adxl345/pd.py')
0 files changed, 0 insertions, 0 deletions