From: Gerhard Sittig Date: Sun, 5 Mar 2023 17:06:30 +0000 (+0100) Subject: feed queue: unbreak MQ and unit support in analog feeds X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=69b0005b9481605e861fd58df59ee0272e77a24b feed queue: unbreak MQ and unit support in analog feeds Unbreak the compilation of the feed queue. The error was introduced in commit 43e6f7a7798f which added MQ and unit support. --- diff --git a/src/input/feed_queue.c b/src/input/feed_queue.c index ca91af37..5914127b 100644 --- a/src/input/feed_queue.c +++ b/src/input/feed_queue.c @@ -180,9 +180,9 @@ SR_API int feed_queue_analog_params(struct feed_queue_analog *q, if (q->scale_factor == 1.0) q->scale_factor = 0.0; - q->meaning->mq = mq; - q->meaning->mqflags = mqflags; - q->meaning->unit = unit; + q->meaning.mq = mq; + q->meaning.mqflags = mq_flag; + q->meaning.unit = unit; return SR_OK; }