diff --git a/libraries/AP_HAL_PX4/SPIDevice.cpp b/libraries/AP_HAL_PX4/SPIDevice.cpp index e0bc4c8a12..99843f34bf 100644 --- a/libraries/AP_HAL_PX4/SPIDevice.cpp +++ b/libraries/AP_HAL_PX4/SPIDevice.cpp @@ -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), };