diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2022-04-23 19:20:42 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2022-04-23 20:02:36 +0200 |
commit | 1fc5b8a515eb06e759e109728b6f18ccdef0c686 (patch) | |
tree | 64c764f5f427705151123267d4e304ca037fbd3d /srd.c | |
parent | 42d4d65c3d34ae9bfa74c40fafd1ca657d05a91b (diff) | |
download | libsigrokdecode-1fc5b8a515eb06e759e109728b6f18ccdef0c686.tar.gz libsigrokdecode-1fc5b8a515eb06e759e109728b6f18ccdef0c686.zip |
uart: handle two stop bits configuration
Sample and process multiple STOP bits as specified, add 2.0 to the list
of supported configurations. This implementation works as expected with
integer numbers of STOP bits (0, 1, 2). For half-bits the sample point
as well as the annotation position will be incorrect (as a result of an
internal implementation detail of the existing decoder which is not easy
to address).
This commit reduces the diff size, and remains backwards bug-compatible.
Fixing the bit boundaries in annotations including support for half-bits
is more involved, and remains for a later commit.
Diffstat (limited to 'srd.c')
0 files changed, 0 insertions, 0 deletions