From: Bert Vermeulen Date: Mon, 11 Mar 2013 15:35:18 +0000 (+0100) Subject: add SR_CONF_DATALOG X-Git-Tag: dsupstream~251 X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=e6551ea640f113a9f7cd6bfaaf3a8d0689c71edf add SR_CONF_DATALOG --- diff --git a/hwdriver.c b/hwdriver.c index cf590cd0..a5f85b88 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -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}, }; diff --git a/libsigrok.h b/libsigrok.h index d4dd7bb6..2ab75a89 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -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 {