mirror of
https://github.com/espressif/openthread.git
synced 2026-08-23 10:49:51 +00:00
[config] disable uptime logging when multi-instance enabled (#10659)
This commit soften enabling log uptime in simulation and posix platform so that it won't be enabled when multiple instance is also enabled.
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME
|
||||
#define OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME 1
|
||||
#define OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME !OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE
|
||||
#endif
|
||||
|
||||
#ifndef OPENTHREAD_CONFIG_SRP_CLIENT_BUFFERS_MAX_SERVICES
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef OPENTHREAD_CONFIG_UPTIME_ENABLE
|
||||
#define OPENTHREAD_CONFIG_UPTIME_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_UPTIME_ENABLE !OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE
|
||||
#endif
|
||||
|
||||
#ifndef OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME
|
||||
|
||||
Reference in New Issue
Block a user