HAL_PX4: used cypress bus defines

This commit is contained in:
Andrew Tridgell 2018-02-08 17:41:42 +11:00
parent f8e16008f6
commit eb0389caf2
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ SPIDesc SPIDeviceManager::device_table[] = {
#endif
#ifdef CYRF_SPI_PX4_SPI_BUS
SPIDesc("cypress", CYRF_SPI_PX4_SPI_BUS, (spi_dev_e)1, SPIDEV_MODE0, 2*MHZ, 2*MHZ),
SPIDesc("cypress", CYRF_SPI_PX4_SPI_BUS, CYRF_SPI_PX4_SPIDEV_EXT, SPIDEV_MODE0, 2*MHZ, 2*MHZ),
#endif
SPIDesc(nullptr, 0, (spi_dev_e)0, (spi_mode_e)0, 0, 0),