mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
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();
|
callbacks->setup();
|
||||||
scheduler->set_system_initialized();
|
scheduler->set_system_initialized();
|
||||||
|
|
||||||
#ifndef HAL_NO_LOGGING
|
#if HAL_LOGGING_ENABLED
|
||||||
if (getenv("SITL_WATCHDOG_RESET")) {
|
if (getenv("SITL_WATCHDOG_RESET")) {
|
||||||
const AP_HAL::Util::PersistentData &pd = util->persistent_data;
|
const AP_HAL::Util::PersistentData &pd = util->persistent_data;
|
||||||
AP::logger().WriteCritical("WDOG", "TimeUS,Task,IErr,IErrCnt,IErrLn,MavMsg,MavCmd,SemLine", "QbIHHHHH",
|
AP::logger().WriteCritical("WDOG", "TimeUS,Task,IErr,IErrCnt,IErrLn,MavMsg,MavCmd,SemLine", "QbIHHHHH",
|
||||||
|
Loading…
Reference in New Issue
Block a user