mirror of
https://github.com/espressif/openthread.git
synced 2026-10-08 00:37:40 +00:00
[simulation] fix build with RAM settings (#7648)
This commit fixes the build error when `OPENTHREAD_SETTINGS_RAM` is enabled. Also adds a check to prevent this error in the future.
This commit is contained in:
@@ -231,7 +231,7 @@ otError otPlatSettingsDelete(otInstance *aInstance, uint16_t aKey, int aIndex)
|
||||
|
||||
void otPlatSettingsWipe(otInstance *aInstance)
|
||||
{
|
||||
otPlatSettingsInit(aInstance);
|
||||
otPlatSettingsInit(aInstance, NULL, 0);
|
||||
}
|
||||
|
||||
#endif // OPENTHREAD_SETTINGS_RAM
|
||||
|
||||
Reference in New Issue
Block a user