X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;h=b1e0c3e68730a10237545e0db042cd598eff27ad;hb=c36f78f7728e8b5263bed440530a61caa6e30a26;hp=95d8163f09d00e6627a3d07bb089bb8d12655a97;hpb=54ab1dcdc4d372765401bc2513f2692f488f4e1d;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index 95d8163f..b1e0c3e6 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -79,6 +79,10 @@ static struct sr_config_info sr_config_info_data[] = { "Run length encoding", NULL}, {SR_CONF_TRIGGER_SLOPE, SR_T_STRING, "triggerslope", "Trigger slope", NULL}, + {SR_CONF_AVERAGING, SR_T_BOOL, "averaging", + "Averaging", NULL}, + {SR_CONF_AVG_SAMPLES, SR_T_UINT64, "avg_samples", + "Number of samples to average over", NULL}, {SR_CONF_TRIGGER_SOURCE, SR_T_STRING, "triggersource", "Trigger source", NULL}, {SR_CONF_HORIZ_TRIGGERPOS, SR_T_FLOAT, "horiz_triggerpos", @@ -97,8 +101,8 @@ static struct sr_config_info sr_config_info_data[] = { "Trigger matches", NULL}, {SR_CONF_SAMPLE_INTERVAL, SR_T_UINT64, "sample_interval", "Sample interval", NULL}, - {SR_CONF_NUM_TIMEBASE, SR_T_INT32, "num_timebase", - "Number of time bases", NULL}, + {SR_CONF_NUM_HDIV, SR_T_INT32, "num_hdiv", + "Number of horizontal divisions", NULL}, {SR_CONF_NUM_VDIV, SR_T_INT32, "num_vdiv", "Number of vertical divisions", NULL}, {SR_CONF_SPL_WEIGHT_FREQ, SR_T_STRING, "spl_weight_freq", @@ -179,6 +183,8 @@ static struct sr_config_info sr_config_info_data[] = { "Power off", NULL}, {SR_CONF_DATA_SOURCE, SR_T_STRING, "data_source", "Data source", NULL}, + {SR_CONF_PROBE_FACTOR, SR_T_UINT64, "probe_factor", + "Probe factor", NULL}, /* Acquisition modes, sample limiting */ {SR_CONF_LIMIT_MSEC, SR_T_UINT64, "limit_time",