software/dump/sigrok: fix samplerate generation (2x since we are doubling data to show capture clk)

This commit is contained in:
Florent Kermarrec 2017-06-22 18:45:15 +02:00
parent f8ea15363c
commit 0c4d0f4505
1 changed files with 1 additions and 1 deletions

View File

@ -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)