]> sigrok.org Git - libsigrokdecode.git/commit
Decoder: check for duplicate register() calls in common backend code
authorGerhard Sittig <redacted>
Fri, 26 Jan 2018 20:02:25 +0000 (21:02 +0100)
committerUwe Hermann <redacted>
Sat, 31 Mar 2018 18:44:21 +0000 (20:44 +0200)
commit7d82e3c1ec96ac8a9ef358de1e9c87715dcb8f43
tree5504e0838196e3fc27e576d9c696b264132f9eb6
parentcd8d918846a00847f2e8e15ba1642882c34a1ff3
Decoder: check for duplicate register() calls in common backend code

Future implementations might call decoders' start() routine several
times, which makes them call register() again. It's desirable that the
common backend code copes with this condition, such that (the multitude
of) decoder implementations need not work around a specific constraint.
type_decoder.c