mtd:spi_dev_e is now uint32_t in NuttX

Using new type of uint32_t for spi device
This commit is contained in:
David Sidrane
2017-05-03 15:43:23 -10:00
committed by Daniel Agar
parent 0d2124ce13
commit 25c8ceaf91
+1 -1
View File
@@ -212,7 +212,7 @@ ramtron_attach(void)
SPI_SETFREQUENCY(spi, 10 * 1000 * 1000);
SPI_SETBITS(spi, 8);
SPI_SETMODE(spi, SPIDEV_MODE3);
SPI_SELECT(spi, SPIDEV_FLASH, false);
SPI_SELECT(spi, SPIDEV_FLASH(0), false);
if (spi == NULL) {
PX4_ERR("failed to locate spi bus");