From: Soeren Apel Date: Sat, 25 Feb 2017 21:56:36 +0000 (+0100) Subject: Update sr_period_string usage X-Git-Tag: sigrok-cli-0.7.0~13 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=87cb3b61d72f430479bb5fdfd3c0c909f3ac899e;p=sigrok-cli.git Update sr_period_string usage --- diff --git a/show.c b/show.c index eca05b8..f09095a 100644 --- a/show.c +++ b/show.c @@ -610,7 +610,7 @@ void show_dev_detail(void) gvar = g_variant_get_child_value(gvar_list, i); g_variant_get(gvar, "(tt)", &p, &q); if (srci->datatype == SR_T_RATIONAL_PERIOD) - s = sr_period_string(p * q); + s = sr_period_string(p, q); else s = sr_voltage_string(p, q); printf(" %s", s);