[logging] fix build with OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL=1 (#2727)

This commit is contained in:
Nathan Lutchansky
2018-05-24 01:56:55 -07:00
committed by Jonathan Hui
parent 8f7dfead41
commit cdc1dd5660
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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);
+1
View File
@@ -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"