forked from M-Labs/artiq
kasli_sawgmaster: fix drtio_is_up
This commit is contained in:
parent
902db1d95a
commit
6c4790b979
|
@ -8,7 +8,7 @@ class Sines2Sayma(EnvExperiment):
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def drtio_is_up(self):
|
def drtio_is_up(self):
|
||||||
for i in range(3):
|
for i in range(5):
|
||||||
if not self.core.get_rtio_destination_status(i):
|
if not self.core.get_rtio_destination_status(i):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -23,7 +23,7 @@ class SinesUrukulSayma(EnvExperiment):
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def drtio_is_up(self):
|
def drtio_is_up(self):
|
||||||
for i in range(2):
|
for i in range(3):
|
||||||
if not self.core.get_rtio_destination_status(i):
|
if not self.core.get_rtio_destination_status(i):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue