From 3cbdf2fbac8902e4968f94b6dccdbcf8f9753491 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 15 Sep 2018 18:43:27 +0800 Subject: [PATCH] kasli: cleanup drtio blink example --- .../examples/kasli_drtioswitching/repository/blink.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/artiq/examples/kasli_drtioswitching/repository/blink.py b/artiq/examples/kasli_drtioswitching/repository/blink.py index e5068efda..2af2d1233 100644 --- a/artiq/examples/kasli_drtioswitching/repository/blink.py +++ b/artiq/examples/kasli_drtioswitching/repository/blink.py @@ -8,10 +8,9 @@ class Blink(EnvExperiment): @kernel def run(self): - while True: - self.core.reset() + self.core.reset() - while True: - for led in self.leds: - led.pulse(200*ms) - delay(200*ms) + while True: + for led in self.leds: + led.pulse(200*ms) + delay(200*ms)