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 Sebastien Bourdeauducq
parent 5016004d26
commit ebe7348a92
1 changed files with 2 additions and 2 deletions

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]