]> sigrok.org Git - pulseview.git/commitdiff
samplingbar: Replace sr_info_get(SR_DI_SAMPLERATES) with sr_config_list(SR_CONF_SAMPL...
authorJoel Holdsworth <redacted>
Sun, 27 Jan 2013 09:16:40 +0000 (09:16 +0000)
committerJoel Holdsworth <redacted>
Sun, 27 Jan 2013 09:16:40 +0000 (09:16 +0000)
pv/samplingbar.cpp

index 8bdadbb149709697e738f26190656d4b3084380f..7bc207aeca80ed20f9e230b12a6899478e074504 100644 (file)
@@ -177,7 +177,7 @@ void SamplingBar::update_sample_rate_selector()
        assert(_sample_rate_value_action);
        assert(_sample_rate_list_action);
 
-       if (sr_info_get(sdi->driver, SR_DI_SAMPLERATES,
+       if (sr_config_list(sdi->driver, SR_CONF_SAMPLERATE,
                (const void **)&samplerates, sdi) != SR_OK)
                return;