From 2cd485e7aeb271ee9085ec804d972c136fac362c Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Sun, 10 Feb 2019 10:31:46 -0800 Subject: [PATCH] AP_Compass: unify singleton naming to _singleton and get_singleton() --- libraries/AP_Compass/AP_Compass_AK8963.cpp | 4 ++-- libraries/AP_Compass/AP_Compass_HMC5843.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Compass/AP_Compass_AK8963.cpp b/libraries/AP_Compass/AP_Compass_AK8963.cpp index 613917a92b..fce8a11363 100644 --- a/libraries/AP_Compass/AP_Compass_AK8963.cpp +++ b/libraries/AP_Compass/AP_Compass_AK8963.cpp @@ -91,7 +91,7 @@ AP_Compass_Backend *AP_Compass_AK8963::probe_mpu9250(AP_HAL::OwnPtr dev AP_Compass_Backend *AP_Compass_HMC5843::probe_mpu6000(enum Rotation rotation) { - AP_InertialSensor &ins = *AP_InertialSensor::get_instance(); + AP_InertialSensor &ins = *AP_InertialSensor::get_singleton(); AP_HMC5843_BusDriver *bus = new AP_HMC5843_BusDriver_Auxiliary(ins, HAL_INS_MPU60XX_SPI,