AP_HAL_Linux: Update SPIDevice for Navigator R4

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-10-20 00:19:55 -03:00 committed by Willian Galvani
parent fe4c6f43a2
commit ede6f3ff99

View File

@ -81,6 +81,7 @@ SPIDesc SPIDeviceManager::_device[] = {
SPIDesc SPIDeviceManager::_device[] = { SPIDesc SPIDeviceManager::_device[] = {
SPIDesc("led", 0, 0, SPI_MODE_0, 8, SPI_CS_KERNEL, 6*MHZ, 6*MHZ), SPIDesc("led", 0, 0, SPI_MODE_0, 8, SPI_CS_KERNEL, 6*MHZ, 6*MHZ),
SPIDesc("icm20602", 1, 2, SPI_MODE_0, 8, SPI_CS_KERNEL, 1*MHZ, 10*MHZ), SPIDesc("icm20602", 1, 2, SPI_MODE_0, 8, SPI_CS_KERNEL, 1*MHZ, 10*MHZ),
SPIDesc("mmc5983", 1, 1, SPI_MODE_0, 8, SPI_CS_KERNEL, 1*MHZ, 10*MHZ),
}; };
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO2 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO2
SPIDesc SPIDeviceManager::_device[] = { SPIDesc SPIDeviceManager::_device[] = {