AP_Baro: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED

This commit is contained in:
Peter Barker 2021-05-17 16:51:35 +10:00 committed by Andrew Tridgell
parent 21d24ebc9d
commit 4a1eef4565
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ void AP_Baro::update(void)
}
// logging
#ifndef HAL_NO_LOGGING
#if HAL_LOGGING_ENABLED
if (should_log()) {
Write_Baro();
}