projects
/
libsigrok.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55eca71
)
ols: Provide sample count in RLE mode
author
v1ne
<v1ne2go@gmail.com>
Tue, 23 Feb 2021 21:36:32 +0000
(22:36 +0100)
committer
Soeren Apel
<soeren@apelpie.net>
Fri, 10 Sep 2021 21:00:51 +0000
(23:00 +0200)
It just means "number of compressed samples", but it's still highly useful
to decice how much data to capture. If this is unavailable, PulseView
provides a weird list of up to 1 TSmpl, which makes even less sense.
src/hardware/openbench-logic-sniffer/api.c
patch
|
blob
|
history
diff --git
a/src/hardware/openbench-logic-sniffer/api.c
b/src/hardware/openbench-logic-sniffer/api.c
index c6a2cd2f4da24e83a687dedecdabb5d824fa8854..426d253a716385c36b3a539d0e0d30897cd0d2e2 100644
(file)
--- a/
src/hardware/openbench-logic-sniffer/api.c
+++ b/
src/hardware/openbench-logic-sniffer/api.c
@@
-367,8
+367,6
@@
static int config_list(uint32_t key, GVariant **data,
if (!sdi)
return SR_ERR_ARG;
devc = sdi->priv;
- if (devc->capture_flags & CAPTURE_FLAG_RLE)
- return SR_ERR_NA;
if (devc->max_samples == 0)
/* Device didn't specify sample memory size in metadata. */
return SR_ERR_NA;