mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 17:53:59 -04:00
AP_Airspeed: rename dataflash to logger
This commit is contained in:
parent
a577223ac6
commit
e67b6e15fa
@ -457,9 +457,9 @@ void AP_Airspeed::update(bool log)
|
|||||||
check_sensor_failures();
|
check_sensor_failures();
|
||||||
|
|
||||||
if (log) {
|
if (log) {
|
||||||
AP_Logger *_dataflash = AP_Logger::get_singleton();
|
AP_Logger *logger = AP_Logger::get_singleton();
|
||||||
if (_dataflash != nullptr) {
|
if (logger != nullptr) {
|
||||||
_dataflash->Write_Airspeed(*this);
|
logger->Write_Airspeed(*this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user