X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=session_file.c;fp=session_file.c;h=6c794545de28b74ef8f4699a15b62675988e778b;hb=bf90d4c666cac50308577741e64d7cd42dbaad8d;hp=27e540955ba5d499a5a7d5ee0fd5ef7ec42fe5ce;hpb=3699a8a1ff68a2f5f781c6ae74946adc8bc82673;p=libsigrok.git diff --git a/session_file.c b/session_file.c index 27e54095..6c794545 100644 --- a/session_file.c +++ b/session_file.c @@ -181,7 +181,7 @@ SR_API int sr_session_load(const char *filename) g_variant_new_uint64(tmp_u64), sdi, NULL); } else if (!strcmp(keys[j], "total probes")) { total_probes = strtoull(val, NULL, 10); - sdi->driver->config_set(SR_CONF_CAPTURE_NUM_PROBES, + sdi->driver->config_set(SR_CONF_NUM_LOGIC_PROBES, g_variant_new_uint64(total_probes), sdi, NULL); for (p = 0; p < total_probes; p++) { snprintf(probename, SR_MAX_PROBENAME_LEN, "%" PRIu64, p);