mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_Linux: Update SPIDevice for Navigator R4
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
fe4c6f43a2
commit
ede6f3ff99
@ -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[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user