summaryrefslogtreecommitdiff
path: root/decoders/graycode
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-22 19:55:07 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-22 20:21:55 +0200
commit50207d809ae7181e6bb96f1611b599a1f78d27c5 (patch)
treed5a5ee766364bd92614610748971afe8e3487922 /decoders/graycode
parent499bf266989634a02e33e5361a720f853934fe03 (diff)
downloadlibsigrokdecode-50207d809ae7181e6bb96f1611b599a1f78d27c5.tar.gz
libsigrokdecode-50207d809ae7181e6bb96f1611b599a1f78d27c5.zip
ir_sirc: reduce smarts to improve maintenance (.wait() API change)
Eliminate redundancy in time to snum conversions and vice versa. Don't locally overload .wait() with unexpected semantics and neither change its parameters nor return values. Give reviewers and maintainers a chance to see what's happening when they inspect call sites. The 'signals' identifier is unusual for pin states, use the more common 'pins' instead for consistency with other decoders. Reflect when return values are not used, so that readers need to juggle fewer details in their head.
Diffstat (limited to 'decoders/graycode')
0 files changed, 0 insertions, 0 deletions