Skip to content

Commit

Permalink
test_spi: break_realtime
Browse files Browse the repository at this point in the history
jordens committed Mar 9, 2016
1 parent 349a661 commit 10a0912
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artiq/test/coredevice/test_spi.py
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ def build(self):

@kernel
def run(self):
self.core.break_realtime()
t = now_mu()
self.spi0.set_config_mu()
at_mu(t)
@@ -23,6 +24,7 @@ def build(self):

@kernel
def run(self):
self.core.break_realtime()
t = now_mu()
self.spi0.set_config_mu()
at_mu(t + self.spi0.ref_period_mu)

0 comments on commit 10a0912

Please sign in to comment.