mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Compass: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
This commit is contained in:
parent
4a1eef4565
commit
519a71504f
@ -1557,7 +1557,7 @@ Compass::read(void)
|
|||||||
learn->update();
|
learn->update();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAL_NO_LOGGING
|
#if HAL_LOGGING_ENABLED
|
||||||
if (any_healthy && _log_bit != (uint32_t)-1 && AP::logger().should_log(_log_bit)) {
|
if (any_healthy && _log_bit != (uint32_t)-1 && AP::logger().should_log(_log_bit)) {
|
||||||
AP::logger().Write_Compass();
|
AP::logger().Write_Compass();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user