diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-08-12 18:47:37 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-08-12 19:57:13 +0200 |
commit | b6975c680c337bce650eb785d3dad96c282726b6 (patch) | |
tree | 7773d20e9d7175d5ad6929bb4b59b82201b4efee /decoders/common/sdcard/__init__.py | |
parent | d7c2340885909a619acfe590201f71faefae7843 (diff) | |
download | libsigrokdecode-b6975c680c337bce650eb785d3dad96c282726b6.tar.gz libsigrokdecode-b6975c680c337bce650eb785d3dad96c282726b6.zip |
sdq: simplify decode routine, no state machine required
Move the initial synchronization to the input data out of the main loop,
and handle the BREAK symbol when it was seen. Turns out that no state
machine is required to decode the SDQ protocol.
[ best viewed as a whitespace ignoring diff ]
Diffstat (limited to 'decoders/common/sdcard/__init__.py')
0 files changed, 0 insertions, 0 deletions