From cc88e65fc33319154b8b5534bb05de9823b6011c Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 11 Feb 2019 00:18:01 -0800 Subject: [PATCH] AP_BLHeli: rename dataflash to logger --- libraries/AP_BLHeli/AP_BLHeli.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_BLHeli/AP_BLHeli.cpp b/libraries/AP_BLHeli/AP_BLHeli.cpp index d93437646a..c5a0a83f49 100644 --- a/libraries/AP_BLHeli/AP_BLHeli.cpp +++ b/libraries/AP_BLHeli/AP_BLHeli.cpp @@ -1346,9 +1346,9 @@ void AP_BLHeli::read_telemetry_packet(void) last_telem[last_telem_esc] = td; last_telem[last_telem_esc].count++; - AP_Logger *df = AP_Logger::get_singleton(); - if (df && df->logging_enabled()) { - df->Write_ESC(uint8_t(last_telem_esc), + AP_Logger *logger = AP_Logger::get_singleton(); + if (logger && logger->logging_enabled()) { + logger->Write_ESC(uint8_t(last_telem_esc), AP_HAL::micros64(), td.rpm*100U, td.voltage,