}
analyzer_reset(sdi->usb->devhdl);
analyzer_initialize(sdi->usb->devhdl);
- analyzer_configure(sdi->usb->devhdl);
analyzer_set_memory_size(MEMORY_SIZE_512K);
// analyzer_set_freq(g_freq, g_freq_scale);
if (!(sdi = get_sigrok_device_instance(device_instances, device_index)))
return SIGROK_ERR;
+ /* push configured settings to device */
+ analyzer_configure(sdi->usb->devhdl);
+
analyzer_start(sdi->usb->devhdl);
g_message("Waiting for data");
analyzer_wait_data(sdi->usb->devhdl);