mirror of
https://github.com/espressif/openthread.git
synced 2026-07-27 06:17:47 +00:00
[posix-app] close the settings file when reset (#3958)
Currently, the Setting file won't be closed after ot-ncp is reset. Once ot-ncp receives a RESET command from wpantund, it will reopen the Setting file and create a new file Id. This commit closes the Setting file when ot-ncp is reset.
This commit is contained in:
committed by
Jonathan Hui
parent
b983974aec
commit
8de5fbeae7
@@ -487,6 +487,11 @@ void otPlatSettingsInit(otInstance *aInstance)
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
}
|
||||
|
||||
void otPlatSettingsDeinit(otInstance *aInstance)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
}
|
||||
|
||||
otError otPlatSettingsBeginChange(otInstance *aInstance)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
|
||||
Reference in New Issue
Block a user