]> sigrok.org Git - libsigrokdecode.git/commit
decoder: accept skip count 0 (onewire_link, usb_signalling)
authorGerhard Sittig <redacted>
Sun, 24 Nov 2019 18:37:49 +0000 (19:37 +0100)
committerUwe Hermann <redacted>
Sun, 24 Nov 2019 19:41:54 +0000 (20:41 +0100)
commit99e264892acc0d81b31a219d806a5e5c5efa46f8
tree03f112a8f55f76db59333cb00379fccdd67cc2a9
parent1cb40e1077894db4c92cfa01b285e28b202cce6f
decoder: accept skip count 0 (onewire_link, usb_signalling)

A recent commit tightened the check for acceptable 'skip' sample counts.
This broke the onewire_link and usb_signalling decoders' test sequences,
which no longer pass with a minimum count of one. Relax the condition
and accept a count of zero. This breaks gpib again for low total sample
count option values, but this needs to get addressed differently.
type_decoder.c