summaryrefslogtreecommitdiff
path: root/decoders/dcf77/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2021-01-13 20:12:07 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2021-01-13 20:25:09 +0100
commit88b62601d661281be74fde8e3913e66dbe2fa7b4 (patch)
tree9d92c75445db963e3a9cbf976951063dd2fc5670 /decoders/dcf77/pd.py
parent93dd1225b285cdddaf9fc7f0bfa9cd6848595585 (diff)
downloadlibsigrokdecode-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/dcf77/pd.py')
0 files changed, 0 insertions, 0 deletions