mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 01:47:47 +00:00
[posix] add OT_TOOL_WEAK for otPlatLog (#7173)
This PR avoids link error of duplicate `otPlatLog` symbol.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <openthread/platform/logging.h>
|
||||
|
||||
#if OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED
|
||||
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
||||
OT_TOOL_WEAK void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aLogRegion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user