The samples and frame acquisition limits in the hameg-hmo driver
are not stored in the device or elsewhere. Therefore they should
not be read.

Signed-off-by: Guido Trentalancia <gu...@trentalancia.com>
---
 src/hardware/hameg-hmo/protocol.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -pru libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c 
libsigrok-git-hameg-hmo-do-not-read-samples-and-frames-limits/src/hardware/hameg-hmo/protocol.c
--- libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c        2018-11-15 
19:47:31.168256601 +0100
+++ 
libsigrok-git-hameg-hmo-do-not-read-samples-and-frames-limits/src/hardware/hameg-hmo/protocol.c
     2018-11-16 00:08:02.659654580 +0100
@@ -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,


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to