]> sigrok.org Git - libsigrok.git/commit
hp-3478a: use symbolic name for status register bit field
authorGerhard Sittig <redacted>
Tue, 21 Dec 2021 15:25:26 +0000 (16:25 +0100)
committerGerhard Sittig <redacted>
Tue, 22 Feb 2022 22:56:46 +0000 (23:56 +0100)
commitd07ef6f786e423df25e1d7155df988fba9fb8669
treedfa7e3bc22f1801e3ab70bb3bc1ff84b892f894d
parent56ab74034972f306c82b978e19de1ff5f8d5147f
hp-3478a: use symbolic name for status register bit field

The hp_3478a_receive_data() routine uses SPOLL to only communicate
measurement data when they have become available. Use a symbolic name
for the tested bitfield for consistency with other driver locations
and for improved readability.
src/hardware/hp-3478a/protocol.c