mirror of https://github.com/m-labs/artiq.git
rtio.spi: drop unused argument
This commit is contained in:
parent
3b6999ac06
commit
f8732acece
|
@ -5,7 +5,7 @@ from artiq.gateware.rtio.phy.wishbone import RT2WB
|
||||||
|
|
||||||
|
|
||||||
class SPIMaster(Module):
|
class SPIMaster(Module):
|
||||||
def __init__(self, pads, onehot=False, **kwargs):
|
def __init__(self, pads, **kwargs):
|
||||||
self.submodules._ll = ClockDomainsRenamer("rio")(
|
self.submodules._ll = ClockDomainsRenamer("rio")(
|
||||||
SPIMasterWB(pads, **kwargs))
|
SPIMasterWB(pads, **kwargs))
|
||||||
self.submodules._rt2wb = RT2WB(2, self._ll.bus)
|
self.submodules._rt2wb = RT2WB(2, self._ll.bus)
|
||||||
|
|
Loading…
Reference in New Issue