mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
[api] fix reset for radio only mode (#2859)
This commit is contained in:
@@ -76,12 +76,8 @@ bool otInstanceIsInitialized(otInstance *aInstance)
|
||||
|
||||
void otInstanceFinalize(otInstance *aInstance)
|
||||
{
|
||||
#if OPENTHREAD_MTD || OPENTHREAD_FTD
|
||||
Instance &instance = *static_cast<Instance *>(aInstance);
|
||||
instance.Finalize();
|
||||
#else
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
#endif // OPENTHREAD_MTD || OPENTHREAD_FTD
|
||||
}
|
||||
|
||||
void otInstanceReset(otInstance *aInstance)
|
||||
|
||||
Reference in New Issue
Block a user