]> sigrok.org Git - libsigrok.git/commit
hameg_hmo: Mostly fix dumping of current timebase
authorStefan Brüns <redacted>
Wed, 11 Jan 2017 23:29:03 +0000 (00:29 +0100)
committerUwe Hermann <redacted>
Sat, 21 Jan 2017 14:08:21 +0000 (15:08 +0100)
commitd8b65ef66112f2c5dccdbe668b05e6856c00ac3d
treeb4ac89a4741199027ddb257cd1fc4d5456830c25
parent5223412ebe3cadaab0e9b2a65e591b7cf575c404
hameg_hmo: 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/hameg-hmo/protocol.c