]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: SR_CONF_LIMIT_SAMPLES/_FRAMES don't support _GET.
authorGuido Trentalancia <redacted>
Fri, 16 Nov 2018 17:49:53 +0000 (18:49 +0100)
committerUwe Hermann <redacted>
Thu, 25 Jul 2019 22:11:07 +0000 (00:11 +0200)
The samples and frame acquisition limits are not stored in the device or
elsewhere. Therefore they should not be read.

src/hardware/hameg-hmo/protocol.c

index 540e85e93d5cade05a750db87a643100cdf0b087..9d0604f36d3a100dbed851ce70df2122002e1c44 100644 (file)
@@ -70,8 +70,8 @@ static const char *hameg_scpi_dialect[] = {
 
 static const uint32_t devopts[] = {
        SR_CONF_OSCILLOSCOPE,
-       SR_CONF_LIMIT_SAMPLES | SR_CONF_GET | SR_CONF_SET,
-       SR_CONF_LIMIT_FRAMES | SR_CONF_GET | SR_CONF_SET,
+       SR_CONF_LIMIT_SAMPLES | SR_CONF_SET,
+       SR_CONF_LIMIT_FRAMES | SR_CONF_SET,
        SR_CONF_SAMPLERATE | SR_CONF_GET,
        SR_CONF_TIMEBASE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
        SR_CONF_NUM_HDIV | SR_CONF_GET,