mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_SITL: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
This commit is contained in:
parent
7d8c5757d6
commit
c326cdb1ca
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue