mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
[logging] remove otLogFunc<Entry/Exit> macros (#2438)
This commit is contained in:
committed by
Jonathan Hui
parent
16f3213973
commit
f366e4f987
@@ -50,10 +50,8 @@ otInstance *otInstanceInit(void *aInstanceBuffer, size_t *aInstanceBufferSize)
|
||||
{
|
||||
Instance *instance;
|
||||
|
||||
otLogFuncEntry();
|
||||
instance = Instance::Init(aInstanceBuffer, aInstanceBufferSize);
|
||||
otLogInfoApi(*instance, "otInstance Initialized");
|
||||
otLogFuncExit();
|
||||
|
||||
return instance;
|
||||
}
|
||||
@@ -76,9 +74,7 @@ void otInstanceFinalize(otInstance *aInstance)
|
||||
{
|
||||
Instance &instance = *static_cast<Instance *>(aInstance);
|
||||
|
||||
otLogFuncEntry();
|
||||
instance.Finalize();
|
||||
otLogFuncExit();
|
||||
}
|
||||
|
||||
otError otSetStateChangedCallback(otInstance *aInstance, otStateChangedCallback aCallback, void *aContext)
|
||||
|
||||
Reference in New Issue
Block a user