From: Bert Vermeulen Date: Wed, 16 May 2012 00:08:20 +0000 (+0200) Subject: cli: use SR_T_RATIONAL_PERIOD X-Git-Tag: sigrok-cli-0.4.0~112 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d5eb09e305cbbbf7a69265f395a480a843f64c1e;p=sigrok-cli.git cli: use SR_T_RATIONAL_PERIOD --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 536ecce..b5cb5af 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -1110,7 +1110,7 @@ static int set_dev_options(struct sr_dev *dev, GHashTable *args) ret = dev->driver->dev_config_set(dev->driver_index, sr_hwcap_options[i].hwcap, &tmp_float); break; - case SR_T_RATIONAL: + case SR_T_RATIONAL_PERIOD: if ((ret = sr_parse_period(value, &tmp_rat)) != SR_OK) break; ret = dev->driver->dev_config_set(dev->driver_index,