mirror of
https://github.com/espressif/openthread.git
synced 2026-08-21 09:59:52 +00:00
[logging] fix build with OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL=1 (#2727)
This commit is contained in:
committed by
Jonathan Hui
parent
8f7dfead41
commit
cdc1dd5660
@@ -201,7 +201,7 @@ otError Uart::ProcessCommand(void)
|
||||
#if OPENTHREAD_ENABLE_MULTIPLE_INSTANCES
|
||||
/* TODO: how exactly do we get the instance here? */
|
||||
#else
|
||||
otLogInfoCli(&Instance::Get(), "execute command: %s", mRxBuffer);
|
||||
otLogInfoCli(Instance::Get(), "execute command: %s", mRxBuffer);
|
||||
#endif
|
||||
#endif
|
||||
mInterpreter.ProcessLine(mRxBuffer, mRxLength, *this);
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "common/code_utils.hpp"
|
||||
#include "common/debug.hpp"
|
||||
#include "common/encoding.hpp"
|
||||
#include "common/instance.hpp"
|
||||
#include "common/logging.hpp"
|
||||
#include "meshcop/meshcop.hpp"
|
||||
#include "meshcop/meshcop_tlvs.hpp"
|
||||
|
||||
Reference in New Issue
Block a user