summaryrefslogtreecommitdiff
path: root/decoders/onewire_network
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-08-12 18:47:37 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-08-12 19:57:13 +0200
commitb6975c680c337bce650eb785d3dad96c282726b6 (patch)
tree7773d20e9d7175d5ad6929bb4b59b82201b4efee /decoders/onewire_network
parentd7c2340885909a619acfe590201f71faefae7843 (diff)
downloadlibsigrokdecode-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/onewire_network')
0 files changed, 0 insertions, 0 deletions