diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-03-14 18:15:51 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-03-14 19:29:57 +0100 |
commit | 0de2810f223fefc9e3040adaa7f1b97616c6931d (patch) | |
tree | 21635546d97a5d328f072a89488f1c0959511715 /decoders/lm75/pd.py | |
parent | dcd3d6262c57d86581864e642ec00dda5342d1af (diff) | |
download | libsigrokdecode-0de2810f223fefc9e3040adaa7f1b97616c6931d.tar.gz libsigrokdecode-0de2810f223fefc9e3040adaa7f1b97616c6931d.zip |
uart: Reduce redundancy in sample inspection (state machine)
Factor out the logic which inspects samples that were provided by the
PD version 3 query API, and dispatches their processing depending on
the progress of UART frame inspection. "Unroll" a loop over the RX and
TX signals.
This commit replaces some complicated variable assignments by easier to
verify invocations.
Diffstat (limited to 'decoders/lm75/pd.py')
0 files changed, 0 insertions, 0 deletions