mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
dashboard: use break_realtime instead of reset for Urukul set freq (#1940)
This commit is contained in:
parent
5016004d26
commit
ebe7348a92
@ -583,7 +583,7 @@ class _DeviceManager:
|
|||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
self.core.reset()
|
self.core.break_realtime()
|
||||||
{cpld_init}
|
{cpld_init}
|
||||||
delay(5*ms)
|
delay(5*ms)
|
||||||
self.{dds_channel}.init()
|
self.{dds_channel}.init()
|
||||||
@ -612,7 +612,7 @@ class _DeviceManager:
|
|||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
self.core.reset()
|
self.core.break_realtime()
|
||||||
cfg = self.core_cache.get("_{cpld}_cfg")
|
cfg = self.core_cache.get("_{cpld}_cfg")
|
||||||
if len(cfg) > 0:
|
if len(cfg) > 0:
|
||||||
self.{cpld}.cfg_reg = cfg[0]
|
self.{cpld}.cfg_reg = cfg[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user