mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
0c32453505
commit
c10fd9cafb
@ -475,7 +475,7 @@ Vector2f AP_AHRS::rotate_body_to_earth2D(const Vector2f &bf) const
|
|||||||
// log ahrs home and EKF origin to dataflash
|
// log ahrs home and EKF origin to dataflash
|
||||||
void AP_AHRS::Log_Write_Home_And_Origin()
|
void AP_AHRS::Log_Write_Home_And_Origin()
|
||||||
{
|
{
|
||||||
AP_Logger *df = AP_Logger::instance();
|
AP_Logger *df = AP_Logger::get_singleton();
|
||||||
if (df == nullptr) {
|
if (df == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user