]> sigrok.org Git - libsigrok.git/commit
yokogawa-dlm: Mostly fix dumping of current timebase
authorStefan Brüns <redacted>
Sat, 14 Jan 2017 19:56:08 +0000 (20:56 +0100)
committerUwe Hermann <redacted>
Sat, 21 Jan 2017 14:08:21 +0000 (15:08 +0100)
commit59b9c3290aef7dfdc58afd0a4db8b347e0878c91
tree5ef9c9c99b02f3cd5458fde28d09dd51f1e23e99
parentd8b65ef66112f2c5dccdbe668b05e6856c00ac3d
yokogawa-dlm: Mostly fix dumping of current timebase

sr_period_string takes the frequency as its argument, i.e. the reciprocal
of the timebase. Obviously this will not work for frequencies less than
1Hz / timebases greater than 1 second, but at least is correct for all
other available timebases.
src/hardware/yokogawa-dlm/protocol.c