mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: used cypress bus defines
This commit is contained in:
parent
f8e16008f6
commit
eb0389caf2
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue