From ede6f3ff99d656823581370a85cbcc857f4902c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 20 Oct 2021 00:19:55 -0300 Subject: [PATCH] AP_HAL_Linux: Update SPIDevice for Navigator R4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- libraries/AP_HAL_Linux/SPIDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_Linux/SPIDevice.cpp b/libraries/AP_HAL_Linux/SPIDevice.cpp index 6fffa5ac4d..6f1a87c9c7 100644 --- a/libraries/AP_HAL_Linux/SPIDevice.cpp +++ b/libraries/AP_HAL_Linux/SPIDevice.cpp @@ -81,6 +81,7 @@ SPIDesc SPIDeviceManager::_device[] = { SPIDesc SPIDeviceManager::_device[] = { 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("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 SPIDesc SPIDeviceManager::_device[] = {