mirror of https://github.com/m-labs/artiq.git
core/break_realtime: only increase now
This commit is contained in:
parent
278adf193d
commit
c71d207e90
|
@ -124,4 +124,6 @@ class Core:
|
|||
|
||||
@kernel
|
||||
def break_realtime(self):
|
||||
at_mu(syscall("rtio_get_counter") + 125000)
|
||||
min_now = syscall("rtio_get_counter") + 125000
|
||||
if now_mu() < min_now:
|
||||
at_mu(min_now)
|
||||
|
|
Loading…
Reference in New Issue