]> sigrok.org Git - libsigrok.git/commitdiff
serial-lcr: Allow retrieving frame limit
authorValentin Ochs <redacted>
Sat, 27 Jun 2020 20:45:06 +0000 (22:45 +0200)
committerSoeren Apel <redacted>
Sun, 12 Jul 2020 18:38:36 +0000 (20:38 +0200)
src/hardware/serial-lcr/api.c

index dd8f83081e81cb6e299db02745761594dde89be3..d67171d4cdc653ebea95c381840f802eaa4d2da4 100644 (file)
@@ -38,7 +38,7 @@ static const uint32_t drvopts[] = {
 
 static const uint32_t devopts[] = {
        SR_CONF_CONTINUOUS,
-       SR_CONF_LIMIT_FRAMES | SR_CONF_SET,
+       SR_CONF_LIMIT_FRAMES | SR_CONF_GET | SR_CONF_SET,
        SR_CONF_LIMIT_MSEC | SR_CONF_SET,
        SR_CONF_OUTPUT_FREQUENCY | SR_CONF_GET | SR_CONF_LIST,
        SR_CONF_EQUIV_CIRCUIT_MODEL | SR_CONF_GET | SR_CONF_LIST,