add SR_CONF_DATALOG

This commit is contained in:
Bert Vermeulen 2013-03-11 16:35:18 +01:00
parent 9857276261
commit e6551ea640
2 changed files with 6 additions and 0 deletions

View 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},
};

View 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 {