]> sigrok.org Git - pulseview.git/commitdiff
Update sr_period_string usage
authorSoeren Apel <redacted>
Sat, 25 Feb 2017 21:55:30 +0000 (22:55 +0100)
committerUwe Hermann <redacted>
Tue, 7 Mar 2017 16:14:38 +0000 (17:14 +0100)
pv/binding/device.cpp

index 85315f1d166a15b6ebca1bf6841315876cee48fb..2253e70dc4fe97261267dee8411a5bb43e95f18b 100644 (file)
@@ -177,7 +177,7 @@ QString Device::print_timebase(Glib::VariantBase gvar)
 {
        uint64_t p, q;
        g_variant_get(gvar.gobj(), "(tt)", &p, &q);
-       return QString::fromUtf8(sr_period_string(p * q));
+       return QString::fromUtf8(sr_period_string(p, q));
 }
 
 QString Device::print_vdiv(Glib::VariantBase gvar)