From c326cdb1ca3f52df9edc8f0655f46c65c842a940 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 17 May 2021 16:51:37 +1000 Subject: [PATCH] AP_HAL_SITL: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED --- libraries/AP_HAL_SITL/HAL_SITL_Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp b/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp index a034fedd1c..fb64e5ca29 100644 --- a/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp +++ b/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp @@ -213,7 +213,7 @@ void HAL_SITL::run(int argc, char * const argv[], Callbacks* callbacks) const callbacks->setup(); scheduler->set_system_initialized(); -#ifndef HAL_NO_LOGGING +#if HAL_LOGGING_ENABLED if (getenv("SITL_WATCHDOG_RESET")) { const AP_HAL::Util::PersistentData &pd = util->persistent_data; AP::logger().WriteCritical("WDOG", "TimeUS,Task,IErr,IErrCnt,IErrLn,MavMsg,MavCmd,SemLine", "QbIHHHHH",