From: Guido Trentalancia Date: Fri, 16 Nov 2018 17:49:53 +0000 (+0100) Subject: hameg-hmo: SR_CONF_LIMIT_SAMPLES/_FRAMES don't support _GET. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=830e24b68f87f51d4bdc8067704219e0956fba90;p=libsigrok.git hameg-hmo: SR_CONF_LIMIT_SAMPLES/_FRAMES don't support _GET. The samples and frame acquisition limits are not stored in the device or elsewhere. Therefore they should not be read. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 540e85e9..9d0604f3 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -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,