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

View File

@ -583,7 +583,7 @@ class _DeviceManager:
@kernel
def run(self):
self.core.reset()
self.core.break_realtime()
{cpld_init}
delay(5*ms)
self.{dds_channel}.init()
@ -612,7 +612,7 @@ class _DeviceManager:
@kernel
def run(self):
self.core.reset()
self.core.break_realtime()
cfg = self.core_cache.get("_{cpld}_cfg")
if len(cfg) > 0:
self.{cpld}.cfg_reg = cfg[0]