From: Bert Vermeulen Date: Sun, 10 Feb 2013 16:06:38 +0000 (+0100) Subject: hantek-dso: minor fixes X-Git-Tag: dsupstream~267 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=be6db330f86707c5eadf2a3f20903860dbadaabf;p=libsigrok.git hantek-dso: minor fixes --- diff --git a/hardware/hantek-dso/api.c b/hardware/hantek-dso/api.c index 80bd0b49..e648fa4e 100644 --- a/hardware/hantek-dso/api.c +++ b/hardware/hantek-dso/api.c @@ -37,9 +37,9 @@ /* TODO tune this properly */ #define TICK 1 -static const int hwcaps[] = { +static const int devopts[] = { SR_CONF_OSCILLOSCOPE, - SR_CONF_LIMIT_SAMPLES, + SR_CONF_LIMIT_FRAMES, SR_CONF_CONTINUOUS, SR_CONF_TIMEBASE, SR_CONF_BUFFERSIZE, @@ -535,7 +535,7 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi switch (key) { case SR_CONF_DEVICE_OPTIONS: - *data = hwcaps; + *data = devopts; break; case SR_CONF_BUFFERSIZE: *data = buffersizes;