add SR_CONF_DATALOG
This commit is contained in:
parent
9857276261
commit
e6551ea640
|
@ -79,6 +79,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
||||||
"Volts/div", NULL},
|
"Volts/div", NULL},
|
||||||
{SR_CONF_COUPLING, SR_T_CHAR, "coupling",
|
{SR_CONF_COUPLING, SR_T_CHAR, "coupling",
|
||||||
"Coupling", NULL},
|
"Coupling", NULL},
|
||||||
|
{SR_CONF_DATALOG, SR_T_BOOL, "datalog",
|
||||||
|
"Datalog", NULL},
|
||||||
{0, 0, NULL, NULL, NULL},
|
{0, 0, NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -679,6 +679,10 @@ enum {
|
||||||
* samples continuously, until explicitly stopped by a certain command.
|
* samples continuously, until explicitly stopped by a certain command.
|
||||||
*/
|
*/
|
||||||
SR_CONF_CONTINUOUS,
|
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 {
|
struct sr_dev_inst {
|
||||||
|
|
Loading…
Reference in New Issue