From 10a09122eacce58c5c9add1af261c2d450f5bcc2 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 9 Mar 2016 18:23:27 +0100 Subject: [PATCH] test_spi: break_realtime --- artiq/test/coredevice/test_spi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/test/coredevice/test_spi.py b/artiq/test/coredevice/test_spi.py index 436f720d9..53b1a3ec0 100644 --- a/artiq/test/coredevice/test_spi.py +++ b/artiq/test/coredevice/test_spi.py @@ -9,6 +9,7 @@ class Collision(EnvExperiment): @kernel def run(self): + self.core.break_realtime() t = now_mu() self.spi0.set_config_mu() at_mu(t) @@ -23,6 +24,7 @@ class Busy(EnvExperiment): @kernel def run(self): + self.core.break_realtime() t = now_mu() self.spi0.set_config_mu() at_mu(t + self.spi0.ref_period_mu)