]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Set SR_CONF_GET | SR_CONF_SET for frame limit.
authorMathias Katzer <redacted>
Sun, 11 Jan 2015 00:38:20 +0000 (01:38 +0100)
committerUwe Hermann <redacted>
Sun, 11 Jan 2015 00:43:12 +0000 (01:43 +0100)
Reading analog data from an HMO1024 (Firmware 04.527) failed because the
frame limit could not be set.

src/hardware/hameg-hmo/protocol.c

index 8f39ba112b40f1955fe924a07a9db66c035b4e8f..6f5c0500f00413f5e7d4163db224ac8e7ea4d573 100644 (file)
@@ -47,7 +47,7 @@ static const char *hameg_scpi_dialect[] = {
 
 static const uint32_t hmo_devopts[] = {
        SR_CONF_OSCILLOSCOPE,
-       SR_CONF_LIMIT_FRAMES,
+       SR_CONF_LIMIT_FRAMES | SR_CONF_GET | SR_CONF_SET,
        SR_CONF_TRIGGER_SOURCE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
        SR_CONF_TIMEBASE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
        SR_CONF_NUM_TIMEBASE | SR_CONF_GET,