]> sigrok.org Git - libsigrokdecode.git/commit
uart: sample position nits, fix typo, float calculation awareness
authorGerhard Sittig <redacted>
Tue, 17 Dec 2019 10:48:23 +0000 (11:48 +0100)
committerGerhard Sittig <redacted>
Tue, 17 Dec 2019 10:48:23 +0000 (11:48 +0100)
commit3d2d91e0b30e2e421bf693f7f9f8aad0634084b3
tree76d1f08e1d153372d03cecd6c84c82bb0cd8bfc1
parentbd50ceb314e4607e596c98c534aafcfe142a73b6
uart: sample position nits, fix typo, float calculation awareness

This commit amends bd50ceb314e4. Fix a typo in a comment. Rephrase the
bit width percentage calculation such that readers remain aware of the
necessity for floating point math in sample position calculations. This
commit does not change behaviour, Python 3 always yields float results
for divisions. It's about raising awareness.
decoders/uart/pd.py