]> sigrok.org Git - libsigrokdecode.git/commit
uart: Immediately skip reception of parity bits when not applicable
authorGerhard Sittig <redacted>
Tue, 14 Mar 2017 14:35:27 +0000 (15:35 +0100)
committerGerhard Sittig <redacted>
Tue, 14 Mar 2017 18:26:21 +0000 (19:26 +0100)
commit1078af01aeee50c9ad9633dd477e9de575521012
treedae38ca7de57f356abb1c23f13265b566a995b5e
parentcf60d0bc17b1a8e316ab5ef054f07a5fa59d1585
uart: Immediately skip reception of parity bits when not applicable

When the UART frame does not contain a parity bit, then immediately
advance to reception of stop bits after all data bits were received.

This eliminates the necessity to run the parity check routine when
parity does not apply in the first place. Without this change, some
"dummy" sample needs to get inspected for correct operation of the
state machine.
decoders/uart/pd.py