forked from M-Labs/artiq
1
0
Fork 0

shuttler: use scheduler

This commit is contained in:
Sebastien Bourdeauducq 2023-10-06 14:41:26 +08:00
parent 24c3a2fd0a
commit d96dc11b25
1 changed files with 1 additions and 2 deletions

View File

@ -101,8 +101,7 @@ class Shuttler(EnvExperiment):
print_rpc("Example Waveforms are on OUT0 and OUT1")
self.core.break_realtime()
#while not(self.scheduler.check_termination()):
while True:
while not(self.scheduler.check_termination()):
self.core.delay(1.*s)
self.example_waveform()