This is the first step in fixing the demo driver: figuring out what is
being called and what is not _and_ have it show up in the logs.
Signed-off-by: Alexandru Gagniuc <redacted>
(void)sdi;
+ sr_dbg("Starting acquisition.");
+
/* TODO: 'devc' is never g_free()'d? */
if (!(devc = g_try_malloc(sizeof(struct dev_context)))) {
sr_err("%s: devc malloc failed", __func__);
devc = sdi->priv;
+ sr_dbg("Stopping aquisition.");
+
/* Stop generate thread. */
thread_running = 0;