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:
Diego Asanza 2016-05-07 00:07:00 +02:00 committed by Uwe Hermann
parent ea3a77c756
commit 20d8ae41f4
1 changed files with 1 additions and 1 deletions

View File

@ -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},