AP_AHRS: unify singleton naming to _singleton and get_singleton()

This commit is contained in:
Tom Pittenger 2019-02-10 10:33:53 -08:00 committed by Tom Pittenger
parent 0c32453505
commit c10fd9cafb

View File

@ -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;
} }