mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 05:03:34 +08:00
ad9910: fix type annotations
This commit is contained in:
parent
1e869aedd3
commit
c3d765f745
@ -324,7 +324,7 @@ class AD9910:
|
||||
self.bus.write(data_low)
|
||||
|
||||
@kernel
|
||||
def write_ram(self, data: TList(int32)):
|
||||
def write_ram(self, data: TList(TInt32)):
|
||||
"""Write data to RAM.
|
||||
|
||||
The profile to write to and the step, start, and end address
|
||||
@ -345,7 +345,7 @@ class AD9910:
|
||||
self.bus.write(data[len(data) - 1])
|
||||
|
||||
@kernel
|
||||
def read_ram(self, data: TList(int32)):
|
||||
def read_ram(self, data: TList(TInt32)):
|
||||
"""Read data from RAM.
|
||||
|
||||
The profile to read from and the step, start, and end address
|
||||
|
Loading…
Reference in New Issue
Block a user