]> sigrok.org Git - libsigrok.git/commitdiff
add SR_CONF_DATALOG
authorBert Vermeulen <redacted>
Mon, 11 Mar 2013 15:35:18 +0000 (16:35 +0100)
committerBert Vermeulen <redacted>
Mon, 11 Mar 2013 15:37:02 +0000 (16:37 +0100)
hwdriver.c
libsigrok.h

index cf590cd09e66275bca6bed622e807585e4b4882f..a5f85b8861bb065145b6943895ca7202ae8f16cb 100644 (file)
@@ -79,6 +79,8 @@ static struct sr_config_info sr_config_info_data[] = {
                "Volts/div", NULL},
        {SR_CONF_COUPLING, SR_T_CHAR, "coupling",
                "Coupling", NULL},
+       {SR_CONF_DATALOG, SR_T_BOOL, "datalog",
+               "Datalog", NULL},
        {0, 0, NULL, NULL, NULL},
 };
 
index d4dd7bb65fa598f0d5a0f7fc260511fcf3de978c..2ab75a89ec75b418669e8de059a8a96792d20e7e 100644 (file)
@@ -679,6 +679,10 @@ enum {
         * samples continuously, until explicitly stopped by a certain command.
         */
        SR_CONF_CONTINUOUS,
+
+       /** The device has internal storage, into which data is logged. This
+        * starts or stops the internal logging. */
+       SR_CONF_DATALOG,
 };
 
 struct sr_dev_inst {