]> sigrok.org Git - sigrok-gtk.git/commitdiff
sr/cli/gtk/qt: s/hw/driver/ in some places.
authorUwe Hermann <redacted>
Wed, 29 Feb 2012 18:56:15 +0000 (19:56 +0100)
committerUwe Hermann <redacted>
Thu, 1 Mar 2012 22:49:25 +0000 (23:49 +0100)
toolbar.c

index 368d4bafed861421f4ee87acf9ab9b066758bc60..b9a79784fe2a318280106775d4c00267ce5ecd08 100644 (file)
--- a/toolbar.c
+++ b/toolbar.c
@@ -353,7 +353,7 @@ static void capture_run(GtkAction *action, GObject *parent)
        }
 
        if (time_msec) {
-               if (sr_hw_has_hwcap(dev->driver, SR_HWCAP_LIMIT_MSEC)) {
+               if (sr_driver_hwcap_exists(dev->driver, SR_HWCAP_LIMIT_MSEC)) {
                        if (dev->driver->dev_config_set(dev->driver_index,
                                                        SR_HWCAP_LIMIT_MSEC,
                                                        &time_msec) != SR_OK) {