From: Uwe Hermann Date: Sun, 10 Nov 2013 22:22:18 +0000 (+0100) Subject: unittests: Update for probe-groups changes. X-Git-Tag: libsigrok-0.3.0~569 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=57d0a2e195c6dac9e00bf6af3aa35bc394500b15;p=libsigrok.git unittests: Update for probe-groups changes. --- diff --git a/tests/lib.c b/tests/lib.c index b5a49508..58edbf9e 100644 --- a/tests/lib.c +++ b/tests/lib.c @@ -153,7 +153,7 @@ void srtest_set_samplerate(struct sr_dev_driver *driver, uint64_t samplerate) sdi = g_slist_nth_data(driver->priv, 0); gvar = g_variant_new_uint64(samplerate); - ret = driver->config_set(SR_CONF_SAMPLERATE, gvar, sdi); + ret = driver->config_set(SR_CONF_SAMPLERATE, gvar, sdi, NULL); g_variant_unref(gvar); fail_unless(ret == SR_OK, "%s: Failed to set SR_CONF_SAMPLERATE: %d.", @@ -170,7 +170,7 @@ uint64_t srtest_get_samplerate(struct sr_dev_driver *driver) sdi = g_slist_nth_data(driver->priv, 0); - ret = driver->config_get(SR_CONF_SAMPLERATE, &gvar, sdi); + ret = driver->config_get(SR_CONF_SAMPLERATE, &gvar, sdi, NULL); samplerate = g_variant_get_uint64(gvar); g_variant_unref(gvar);