mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
parent
611bcc4db4
commit
1f15e55021
@ -360,8 +360,8 @@ class SPIMaster2Handler(WishboneHandler):
|
|||||||
def process_message(self, message):
|
def process_message(self, message):
|
||||||
self.stb.set_value("1")
|
self.stb.set_value("1")
|
||||||
self.stb.set_value("0")
|
self.stb.set_value("0")
|
||||||
data = message.data
|
|
||||||
if isinstance(message, OutputMessage):
|
if isinstance(message, OutputMessage):
|
||||||
|
data = message.data
|
||||||
address = message.address
|
address = message.address
|
||||||
if address == 1:
|
if address == 1:
|
||||||
logger.debug("SPI config @%d data=0x%08x",
|
logger.debug("SPI config @%d data=0x%08x",
|
||||||
|
Loading…
Reference in New Issue
Block a user