]> sigrok.org Git - libsigrokdecode.git/commit
Improve uart decoder sample positions at high data rates.
authorPetteri Aimonen <redacted>
Sun, 15 Feb 2015 17:08:36 +0000 (19:08 +0200)
committerUwe Hermann <redacted>
Tue, 17 Feb 2015 18:28:10 +0000 (19:28 +0100)
commitb5712ccbbcd023e5ac20d790bf75af3c18fc66d5
tree192d7448312a45c82f6a8a8cad36daa5a9099126
parent2590c098bb44f660a9668db66deaf59f3a7a651b
Improve uart decoder sample positions at high data rates.

At 3 samples per bit, the uart decoder took the value at the last sample
instead of the middle one. Improve calculations so that sampling is more
accurate at odd number of samples per bit.
decoders/uart/pd.py