kasli_sawgmaster: fix drtio_is_up

This commit is contained in:
Sebastien Bourdeauducq 2019-12-21 14:17:52 +08:00
parent 8759c8d360
commit 106d25b32a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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