]> sigrok.org Git - libsigrok.git/commit
binary_helpers: remove scaling factor from binary field extraction
authorGerhard Sittig <redacted>
Thu, 30 Mar 2023 18:28:13 +0000 (20:28 +0200)
committerGerhard Sittig <redacted>
Thu, 30 Mar 2023 18:28:13 +0000 (20:28 +0200)
commitd555959df03e3a51a4a610fde82520df69e3541e
treecac91d08a4adfea15532f9c0c850d5975cd37075
parent66d58fcb9fdd3a167b8fc6ca19f7f0a007c2ee8f
binary_helpers: remove scaling factor from binary field extraction

All call sites use the sr_analog_encoding's support to scale values.
Drop the scaling support from the binary field extractor helper.
Adjust calling rdtech-um and rdtech-tc source code accordingly. See
a word diff for the essence.
src/binary_helpers.c
src/hardware/rdtech-tc/protocol.c
src/hardware/rdtech-um/protocol.c
src/libsigrok-internal.h