]> sigrok.org Git - libsigrok.git/commit
lecroy-xstream: Fix sample rate
authorSoeren Apel <redacted>
Mon, 9 Oct 2017 05:32:31 +0000 (07:32 +0200)
committerSoeren Apel <redacted>
Thu, 2 Nov 2017 06:29:22 +0000 (07:29 +0100)
commite0b6855bd4daca9f1a27b8e4e0d16b019d5d54e4
treec0c72fc75c150d71b72c271fd67c7cdbb739b071
parent86f76e6cae622673b65823fa6bfc31365fd9487b
lecroy-xstream: Fix sample rate

We can't use the memory size command because it returns
the *maximum* memory used, not the *actual* memory used.
Hence, we only know the number of samples per div once
sample data actually comes in.
src/hardware/lecroy-xstream/api.c
src/hardware/lecroy-xstream/protocol.c
src/hardware/lecroy-xstream/protocol.h