AP_Baro: removed have_ekf_logging()

This commit is contained in:
Andrew Tridgell 2020-11-07 16:58:05 +11:00
parent 1bc82d3118
commit b0ec4f8b93
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ void AP_Baro::update(void)
// logging
#ifndef HAL_NO_LOGGING
if (should_log() && !AP::ahrs().have_ekf_logging()) {
if (should_log()) {
AP::logger().Write_Baro();
}
#endif