From e67b6e15fa7755a37ab8abfaaa1eb464e5e72a3d Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 11 Feb 2019 00:15:59 -0800 Subject: [PATCH] AP_Airspeed: rename dataflash to logger --- libraries/AP_Airspeed/AP_Airspeed.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Airspeed/AP_Airspeed.cpp b/libraries/AP_Airspeed/AP_Airspeed.cpp index 2945fddb1f..e52748af6a 100644 --- a/libraries/AP_Airspeed/AP_Airspeed.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed.cpp @@ -457,9 +457,9 @@ void AP_Airspeed::update(bool log) check_sensor_failures(); if (log) { - AP_Logger *_dataflash = AP_Logger::get_singleton(); - if (_dataflash != nullptr) { - _dataflash->Write_Airspeed(*this); + AP_Logger *logger = AP_Logger::get_singleton(); + if (logger != nullptr) { + logger->Write_Airspeed(*this); } } }