mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_Compass: Add MPU9250 multiple instance support
This commit is contained in:
parent
840f583d23
commit
eee9522ca5
@ -454,7 +454,7 @@ void AP_AK8963_SerialBus_MPU9250::_write(uint8_t address, const uint8_t *buf, ui
|
|||||||
|
|
||||||
bool AP_AK8963_SerialBus_MPU9250::configure()
|
bool AP_AK8963_SerialBus_MPU9250::configure()
|
||||||
{
|
{
|
||||||
if (!AP_InertialSensor_MPU9250::initialize_driver_state())
|
if (!AP_InertialSensor_MPU9250::initialize_driver_state(_spi))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
uint8_t user_ctrl;
|
uint8_t user_ctrl;
|
||||||
|
Loading…
Reference in New Issue
Block a user