Change type of SR_CONF_CONTINUOUS from SR_T_UINT64 to SR_T_BOOL
SR_CONF_CONTINUOUS is used to check if a device supports continuous sampling or not. As such, the type boolean is better suited. Signed-off-by: Diego Asanza <f.asanza@gmail.com>
This commit is contained in:
parent
ea3a77c756
commit
20d8ae41f4
|
@ -199,7 +199,7 @@ static struct sr_key_info sr_key_info_config[] = {
|
|||
"Sample limit", NULL},
|
||||
{SR_CONF_LIMIT_FRAMES, SR_T_UINT64, "limit_frames",
|
||||
"Frame limit", NULL},
|
||||
{SR_CONF_CONTINUOUS, SR_T_UINT64, "continuous",
|
||||
{SR_CONF_CONTINUOUS, SR_T_BOOL, "continuous",
|
||||
"Continuous sampling", NULL},
|
||||
{SR_CONF_DATALOG, SR_T_BOOL, "datalog",
|
||||
"Datalog", NULL},
|
||||
|
|
Loading…
Reference in New Issue