mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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();
|
AP_Logger *logger = AP_Logger::get_singleton();
|
||||||
if (df->should_log(_log_battery_bit)) {
|
if (logger->should_log(_log_battery_bit)) {
|
||||||
df->Write_Current();
|
logger->Write_Current();
|
||||||
df->Write_Power();
|
logger->Write_Power();
|
||||||
}
|
}
|
||||||
|
|
||||||
check_failsafes();
|
check_failsafes();
|
||||||
|
Loading…
Reference in New Issue
Block a user