We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f21432 commit 5db1701Copy full SHA for 5db1701
src/platform/silabs/SilabsConfig.cpp
@@ -33,7 +33,6 @@
33
#include <nvm3_hal_flash.h>
34
#include <nvm3_lock.h>
35
36
-#ifndef SLI_SI91X_MCU_INTERFACE // 917soc/wifi-sdk implements the same nvm3 lock/unlock mechanism and it currently can't be overide.
37
#include <FreeRTOS.h>
38
#include <semphr.h>
39
// Substitute the GSDK weak nvm3_lockBegin and nvm3_lockEnd
@@ -58,7 +57,6 @@ void nvm3_lockEnd(void)
58
57
VerifyOrDie(nvm3_Sem != NULL);
59
xSemaphoreGive(nvm3_Sem);
60
}
61
-#endif // !SLI_SI91X_MCU_INTERFACE
62
63
namespace chip {
64
namespace DeviceLayer {
@@ -78,9 +76,7 @@ CHIP_ERROR SilabsConfig::Init()
78
76
79
77
void SilabsConfig::DeInit()
80
{
81
-#ifndef SLI_SI91X_MCU_INTERFACE
82
vSemaphoreDelete(nvm3_Sem);
83
84
nvm3_close(nvm3_defaultHandle);
85
86
0 commit comments