From 793f8a3c8c5d2501d0aacbadb2bbc3a0e293e487 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 30 May 2024 11:30:37 +0800 Subject: [PATCH] legacy almazny: fix missing units, remove dead code --- artiq/coredevice/almazny.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/artiq/coredevice/almazny.py b/artiq/coredevice/almazny.py index 33aaf6b02..01c8f0428 100644 --- a/artiq/coredevice/almazny.py +++ b/artiq/coredevice/almazny.py @@ -1,4 +1,5 @@ from artiq.language.core import kernel, portable +from artiq.language.units import us from numpy import int32 @@ -117,11 +118,6 @@ class AlmaznyLegacy: ) delay(100 * us) - @kernel - def _update_all_registers(self): - for i in range(4): - self._update_register(i) - class AlmaznyChannel: """