]> sigrok.org Git - libsigrok.git/commit - src/libsigrok-internal.h
feed queue: add scale/offset support, rename MQ/unit routine
authorGerhard Sittig <redacted>
Wed, 15 Mar 2023 22:43:42 +0000 (23:43 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:23 +0000 (14:29 +0100)
commitcc8b162f0c7f8e59208b36b4b0d3580d11ba9c0e
tree0f2454244dcf0f15c6d95a92af64343ad7beb55b
parent69b0005b9481605e861fd58df59ee0272e77a24b
feed queue: add scale/offset support, rename MQ/unit routine

Use the scale and offset support for analog measurement values which is
part of the existing sr_analog_encoding API. Rename the routine which
configures MQ and unit before submission of analog data.

This drops local redundant scaling support. And brings feed queue on par
with the binary helpers implementation.
src/input/feed_queue.c
src/libsigrok-internal.h