]> sigrok.org Git - libsigrok.git/commit
openbench-logic-sniffer: Properly set samplerate range
authorKen Taylor <redacted>
Sat, 7 Oct 2023 09:02:12 +0000 (02:02 -0700)
committerSoeren Apel <redacted>
Mon, 19 Aug 2024 21:02:52 +0000 (23:02 +0200)
commitc058440bcef4604753febb9a06653bf74bb0fc00
treecf511a11593724ebc0e73a15061c5cc8c29810e2
parent30b1906315919d1d7e0a9cfdad8c1bfd29edebad
openbench-logic-sniffer: Properly set samplerate range

Driver does query max_samplerate from SUMP metadata,
but previously replied to SR_CONF_SAMPLERATE with fixed
1Hz-200MHz range. Update to use max_samplerate as top
of range.

May fix http://sigrok.org/bugzilla/show_bug.cgi?id=1465
src/hardware/openbench-logic-sniffer/api.c