forked from M-Labs/artiq
artiq_sinara_tester: fix type error
This commit is contained in:
parent
d5806fc959
commit
a7612b9736
|
@ -329,7 +329,7 @@ class SinaraTester(EnvExperiment):
|
||||||
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
for channel_n, (channel_name, channel_dev) in enumerate(channels):
|
||||||
frequency = 10*(card_n + 1) + channel_n
|
frequency = 10*(card_n + 1) + channel_n
|
||||||
print("{}\t{}MHz".format(channel_name, frequency))
|
print("{}\t{}MHz".format(channel_name, frequency))
|
||||||
self.setup_urukul(channel_dev, frequency)
|
self.setup_urukul(channel_dev, float(frequency))
|
||||||
print("Press ENTER when done.")
|
print("Press ENTER when done.")
|
||||||
input()
|
input()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue