software/dump/sigrok: fix samplerate generation (2x since we are doubling data to show capture clk)
This commit is contained in:
parent
f8ea15363c
commit
0c4d0f4505
|
@ -32,7 +32,7 @@ total probes = {}
|
||||||
samplerate = {} KHz
|
samplerate = {} KHz
|
||||||
""".format(
|
""".format(
|
||||||
len(self.variables),
|
len(self.variables),
|
||||||
self.samplerate//1000,
|
self.samplerate//1000*2,
|
||||||
)
|
)
|
||||||
for i, variable in enumerate(self.variables):
|
for i, variable in enumerate(self.variables):
|
||||||
r += "probe{} = {}\n".format(i + 1, variable.name)
|
r += "probe{} = {}\n".format(i + 1, variable.name)
|
||||||
|
|
Loading…
Reference in New Issue