forked from M-Labs/artiq
1
0
Fork 0

dashboard: use break_realtime instead of reset for Urukul set freq (#1940)

This commit is contained in:
kk1050 2022-08-16 14:02:01 +08:00 committed by GitHub
parent 27397625ba
commit 3c72b8d646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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]