cli: obsolete SR_HWCAP_PROBECONFIG
authorBert Vermeulen <bert@biot.com>
Sun, 5 Aug 2012 22:23:29 +0000 (00:23 +0200)
committerBert Vermeulen <bert@biot.com>
Sun, 5 Aug 2012 22:23:29 +0000 (00:23 +0200)
sigrok-cli.c

index 1168745a6d9e01ab145b8e75145148d0267fbbad..c64b001dd4c05c7cc388e3bb46314cb74fc94740 100644 (file)
@@ -1382,13 +1382,6 @@ static void run_session(void)
                g_free(triggerlist);
        }
 
-       if (sr_dev_config_set(sdi, SR_HWCAP_PROBECONFIG,
-                       (char *)sdi->probes) != SR_OK) {
-               g_critical("Failed to configure probes.");
-               sr_session_destroy();
-               return;
-       }
-
        if (opt_continuous) {
                if (!sr_driver_hwcap_exists(sdi->driver, SR_HWCAP_CONTINUOUS)) {
                        g_critical("This device does not support continuous sampling.");