]> sigrok.org Git - libsigrok.git/commit
hameg-hmo: Only update states after successful SCPI SET.
authorGuido Trentalancia <redacted>
Sun, 18 Nov 2018 14:32:00 +0000 (15:32 +0100)
committerUwe Hermann <redacted>
Thu, 25 Jul 2019 22:11:07 +0000 (00:11 +0200)
commit1203acc78fce690d6c63f734e1283091192c2d08
tree5a38109b6d573d855bd55d960b8876ab551181de
parent39e19723475d4394739530d3f843d215e4a6742a
hameg-hmo: Only update states after successful SCPI SET.

Update the oscilloscope state with new settings only after
they have been successfully stored in the device to avoid
an inconsistent state in case of SCPI SET command failure.
src/hardware/hameg-hmo/api.c