mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
legacy almazny: fix missing units, remove dead code
This commit is contained in:
parent
f496e6da7c
commit
793f8a3c8c
@ -1,4 +1,5 @@
|
|||||||
from artiq.language.core import kernel, portable
|
from artiq.language.core import kernel, portable
|
||||||
|
from artiq.language.units import us
|
||||||
|
|
||||||
from numpy import int32
|
from numpy import int32
|
||||||
|
|
||||||
@ -117,11 +118,6 @@ class AlmaznyLegacy:
|
|||||||
)
|
)
|
||||||
delay(100 * us)
|
delay(100 * us)
|
||||||
|
|
||||||
@kernel
|
|
||||||
def _update_all_registers(self):
|
|
||||||
for i in range(4):
|
|
||||||
self._update_register(i)
|
|
||||||
|
|
||||||
|
|
||||||
class AlmaznyChannel:
|
class AlmaznyChannel:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user