From: Mathias Katzer Date: Sun, 11 Jan 2015 00:38:20 +0000 (+0100) Subject: hameg-hmo: Set SR_CONF_GET | SR_CONF_SET for frame limit. X-Git-Tag: libsigrok-0.4.0~688 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=a1b61e6e04246d7619d3cb7e3c6ab77ab6d2e3d5 hameg-hmo: Set SR_CONF_GET | SR_CONF_SET for frame limit. Reading analog data from an HMO1024 (Firmware 04.527) failed because the frame limit could not be set. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 8f39ba11..6f5c0500 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -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,