tspec.it_value = tspec.it_interval;
if (timerfd_settime(devc->timer_fd, 0, &tspec, NULL)) {
tspec.it_value = tspec.it_interval;
if (timerfd_settime(devc->timer_fd, 0, &tspec, NULL)) {
g_io_channel_shutdown(devc->channel, FALSE, NULL);
g_io_channel_unref(devc->channel);
devc->channel = NULL;
g_io_channel_shutdown(devc->channel, FALSE, NULL);
g_io_channel_unref(devc->channel);
devc->channel = NULL;
.dev_close = dev_close,
.dev_acquisition_start = dev_acquisition_start,
.dev_acquisition_stop = dev_acquisition_stop,
.dev_close = dev_close,
.dev_acquisition_start = dev_acquisition_start,
.dev_acquisition_stop = dev_acquisition_stop,