mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_BattMonitor: rename dataflash to logger
This commit is contained in:
parent
b54da9aab8
commit
9aa1fe6dc5
@ -242,10 +242,10 @@ AP_BattMonitor::read()
|
||||
}
|
||||
}
|
||||
|
||||
AP_Logger *df = AP_Logger::get_singleton();
|
||||
if (df->should_log(_log_battery_bit)) {
|
||||
df->Write_Current();
|
||||
df->Write_Power();
|
||||
AP_Logger *logger = AP_Logger::get_singleton();
|
||||
if (logger->should_log(_log_battery_bit)) {
|
||||
logger->Write_Current();
|
||||
logger->Write_Power();
|
||||
}
|
||||
|
||||
check_failsafes();
|
||||
|
Loading…
Reference in New Issue
Block a user