]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
new config options: averaging
[libsigrok.git] / src / hwdriver.c
index 95d8163f09d00e6627a3d07bb089bb8d12655a97..239592d3ebc9157e35148d5d1d73091540e8c332 100644 (file)
@@ -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",