mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_PX4: used cypress bus defines
This commit is contained in:
parent
f8e16008f6
commit
eb0389caf2
@ -139,7 +139,7 @@ SPIDesc SPIDeviceManager::device_table[] = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CYRF_SPI_PX4_SPI_BUS
|
#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
|
#endif
|
||||||
|
|
||||||
SPIDesc(nullptr, 0, (spi_dev_e)0, (spi_mode_e)0, 0, 0),
|
SPIDesc(nullptr, 0, (spi_dev_e)0, (spi_mode_e)0, 0, 0),
|
||||||
|
Loading…
Reference in New Issue
Block a user