From: Bert Vermeulen Date: Sun, 5 Aug 2012 22:23:29 +0000 (+0200) Subject: cli: obsolete SR_HWCAP_PROBECONFIG X-Git-Tag: sigrok-cli-0.4.0~82 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5c730c7bc889f1acd5db7563d9778478b2ceb0a6;p=sigrok-cli.git cli: obsolete SR_HWCAP_PROBECONFIG --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 1168745..c64b001 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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.");