mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
This commit is contained in:
parent
21d24ebc9d
commit
4a1eef4565
|
@ -895,7 +895,7 @@ void AP_Baro::update(void)
|
|||
}
|
||||
|
||||
// logging
|
||||
#ifndef HAL_NO_LOGGING
|
||||
#if HAL_LOGGING_ENABLED
|
||||
if (should_log()) {
|
||||
Write_Baro();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue