]> sigrok.org Git - libsigrok.git/commit
ols: introduce metadata quirks support, unbreak Logic Shrimp
authorGerhard Sittig <redacted>
Sat, 5 Oct 2019 11:45:49 +0000 (13:45 +0200)
committerUwe Hermann <redacted>
Thu, 7 Nov 2019 22:16:06 +0000 (23:16 +0100)
commitad4174c1d8b0a282e56322b81213e80caccf4081
tree49c3128b23f12134a6f145212fe5597b797bfd41
parentcfdc80151b106ae83f3380cb308d53314974257a
ols: introduce metadata quirks support, unbreak Logic Shrimp

Introduce quirks support for devices which provide incomplete metadata.
Add conservative logic to unbreak the Logic Shrimp. Amend previously
received information when it was incomplete, but don't interfere if a
future firmware version fixes the issue.

Without this change, the device gets detected but "has zero channels"
and would be unusable. Because when a device provides metadata, these
details are used exclusively, no fallbacks apply.
src/hardware/openbench-logic-sniffer/protocol.c