1
0
forked from M-Labs/artiq

ad9910: fix type annotations

This commit is contained in:
Sebastien Bourdeauducq 2021-08-05 11:30:54 +08:00
parent 1e869aedd3
commit c3d765f745

View File

@ -324,7 +324,7 @@ class AD9910:
self.bus.write(data_low) self.bus.write(data_low)
@kernel @kernel
def write_ram(self, data: TList(int32)): def write_ram(self, data: TList(TInt32)):
"""Write data to RAM. """Write data to RAM.
The profile to write to and the step, start, and end address 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]) self.bus.write(data[len(data) - 1])
@kernel @kernel
def read_ram(self, data: TList(int32)): def read_ram(self, data: TList(TInt32)):
"""Read data from RAM. """Read data from RAM.
The profile to read from and the step, start, and end address The profile to read from and the step, start, and end address