From: Diego Asanza Date: Fri, 6 May 2016 22:07:00 +0000 (+0200) Subject: Change type of SR_CONF_CONTINUOUS from SR_T_UINT64 to SR_T_BOOL X-Git-Tag: libsigrok-0.5.0~409 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=20d8ae41f49777f5a2bdf63f061b7f120fbcd8df;p=libsigrok.git 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 --- diff --git a/src/hwdriver.c b/src/hwdriver.c index 1a502ca8..0c668e05 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -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},