]> sigrok.org Git - libsigrok.git/commit - src/hardware/hp-3478a/protocol.c
hp-3478a: fix values for digits properties
authorFrank Stettner <redacted>
Fri, 23 Dec 2022 16:43:21 +0000 (17:43 +0100)
committerGerhard Sittig <redacted>
Sun, 19 Feb 2023 10:27:45 +0000 (11:27 +0100)
commitc8260fa8ec48fcfcea8c009edec313a51e54171d
treef31964ecd8c72a9602c710eaceace8d7367fa462
parente59dd45dcda4d3bc0fbd944872564fd30253f3c6
hp-3478a: fix values for digits properties

Unify the hp-3478a driver with the other drivers regarding the use of the
digits properties in the analog payload. This commit adjusts the previously
unclear, but now clarified, use of these properties:

Number of significant digits after the decimal point, if positive. When
negative, exponent with reversed polarity that is necessary to express the
value with all digits without a decimal point.
src/hardware/hp-3478a/api.c
src/hardware/hp-3478a/protocol.c
src/hardware/hp-3478a/protocol.h