examples: spi → spi2.

This commit is contained in:
whitequark 2018-02-27 18:36:45 +00:00
parent b81855cce7
commit 916b10ca94
1 changed files with 2 additions and 2 deletions

View File

@ -120,13 +120,13 @@ device_db = {
# Generic SPI # Generic SPI
"spi0": { "spi0": {
"type": "local", "type": "local",
"module": "artiq.coredevice.spi", "module": "artiq.coredevice.spi2",
"class": "SPIMaster", "class": "SPIMaster",
"arguments": {"channel": 23} "arguments": {"channel": 23}
}, },
"spi_mmc": { "spi_mmc": {
"type": "local", "type": "local",
"module": "artiq.coredevice.spi", "module": "artiq.coredevice.spi2",
"class": "SPIMaster", "class": "SPIMaster",
"arguments": {"channel": 26} "arguments": {"channel": 26}
}, },