mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: define cypress SPI bus
This commit is contained in:
parent
beb5a41389
commit
ddb2f4b5ad
|
@ -138,6 +138,10 @@ SPIDesc SPIDeviceManager::device_table[] = {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CYRF_SPI_PX4_SPI_BUS
|
||||
SPIDesc("cypress", CYRF_SPI_PX4_SPI_BUS, (spi_dev_e)1, 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