mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
actorlib/spi/DMAWriteController: make ack_when_inactive a keyword-only arg
This commit is contained in:
parent
e0e99ec385
commit
c3aad93753
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class DMAReadController(_DMAController):
|
|||
self.comb += self.r_busy.status.eq(self.busy)
|
||||
|
||||
class DMAWriteController(_DMAController):
|
||||
def __init__(self, bus_accessor, ack_when_inactive=False, *args, **kwargs):
|
||||
def __init__(self, bus_accessor, *args, ack_when_inactive=False, **kwargs):
|
||||
bus_aw = flen(bus_accessor.address_data.payload.a)
|
||||
bus_dw = flen(bus_accessor.address_data.payload.d)
|
||||
_DMAController.__init__(self, bus_accessor, bus_aw, bus_dw, *args, **kwargs)
|
||||
|
|
Loading…
Reference in a new issue