mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL_Linux: SPIDriver, add MPU6000 support
This commit is contained in:
parent
4d79887cc5
commit
815c2df2d0
@ -124,6 +124,8 @@ AP_HAL::SPIDeviceDriver* LinuxSPIDeviceManager::device(enum AP_HAL::SPIDevice de
|
||||
switch (dev) {
|
||||
case AP_HAL::SPIDevice_ADS7844:
|
||||
return &_device_cs0;
|
||||
case AP_HAL::SPIDevice_MPU6000:
|
||||
return &_device_cs1;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user