mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-08 02:57:16 +08:00
AP_Compass: Add MPU9250 multiple instance support
This commit is contained in:
@@ -454,7 +454,7 @@ void AP_AK8963_SerialBus_MPU9250::_write(uint8_t address, const uint8_t *buf, ui
|
||||
|
||||
bool AP_AK8963_SerialBus_MPU9250::configure()
|
||||
{
|
||||
if (!AP_InertialSensor_MPU9250::initialize_driver_state())
|
||||
if (!AP_InertialSensor_MPU9250::initialize_driver_state(_spi))
|
||||
return false;
|
||||
|
||||
uint8_t user_ctrl;
|
||||
|
||||
Reference in New Issue
Block a user