hantek-dso: minor fixes

This commit is contained in:
Bert Vermeulen 2013-02-10 17:06:38 +01:00
parent 8421ffa44d
commit be6db330f8
1 changed files with 3 additions and 3 deletions

View File

@ -37,9 +37,9 @@
/* TODO tune this properly */ /* TODO tune this properly */
#define TICK 1 #define TICK 1
static const int hwcaps[] = { static const int devopts[] = {
SR_CONF_OSCILLOSCOPE, SR_CONF_OSCILLOSCOPE,
SR_CONF_LIMIT_SAMPLES, SR_CONF_LIMIT_FRAMES,
SR_CONF_CONTINUOUS, SR_CONF_CONTINUOUS,
SR_CONF_TIMEBASE, SR_CONF_TIMEBASE,
SR_CONF_BUFFERSIZE, SR_CONF_BUFFERSIZE,
@ -535,7 +535,7 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi
switch (key) { switch (key) {
case SR_CONF_DEVICE_OPTIONS: case SR_CONF_DEVICE_OPTIONS:
*data = hwcaps; *data = devopts;
break; break;
case SR_CONF_BUFFERSIZE: case SR_CONF_BUFFERSIZE:
*data = buffersizes; *data = buffersizes;