]> sigrok.org Git - libsigrok.git/commit
korad-kaxxxxp: All received values are zero
authorGeorg Hofmann <redacted>
Tue, 13 Sep 2022 08:12:04 +0000 (10:12 +0200)
committerGerhard Sittig <redacted>
Tue, 13 Sep 2022 15:59:22 +0000 (17:59 +0200)
commitea9cbb6c2f2d73680ed118c4d74e7b590190ab29
treed0220f3b847995580c72f9051a00bbb4b67ca029
parent05a8a5f3c34fab5fbabe241dacd929616ebae88f
korad-kaxxxxp: All received values are zero

Commit 5dfa77b5 introduced a regression in korad_kaxxxxp_get_value().
Positive non-zero return values from command transmission made the
routine fail for every invocation. Fixup the error check and advance
to response reception, do provide the values retrieved from the PSU.

[ gsi: rephrase check, reword commit message ]
src/hardware/korad-kaxxxxp/protocol.c