diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-03-14 18:00:06 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-03-14 19:29:20 +0100 |
commit | dcd3d6262c57d86581864e642ec00dda5342d1af (patch) | |
tree | 7bc2d54e287e943738be0c271ad5dd4c1c79ad10 /decoders/nunchuk/__init__.py | |
parent | 5e3c79fdf6fa757daaff69794fcc0bea1ab7a285 (diff) | |
download | libsigrokdecode-dcd3d6262c57d86581864e642ec00dda5342d1af.tar.gz libsigrokdecode-dcd3d6262c57d86581864e642ec00dda5342d1af.zip |
uart: Convert to PD API version 3
Adjust the UART protocol decoder, to make use of the query based API.
Have edges detected and unrelated samples skipped by common code.
This implementation keeps some redundancy in place (like checking for
having reached specific sample numbers, while the backend managed that
for us). This approach reduces the diff and shall simplify review.
Only some common checks in decode() were moved to the start of the
routine, outside of the sample inspection loop.
Diffstat (limited to 'decoders/nunchuk/__init__.py')
0 files changed, 0 insertions, 0 deletions