forked from M-Labs/artiq
1
0
Fork 0

rtio.spi: drop unused argument

This commit is contained in:
Robert Jördens 2016-02-28 21:06:20 +01:00
parent 3b6999ac06
commit f8732acece
1 changed files with 1 additions and 1 deletions

View File

@ -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)