Skip to content

Commit 5db1701

Browse files
removing the 917 SoC condition for the 917 SoC (#33804)
1 parent 8f21432 commit 5db1701

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/platform/silabs/SilabsConfig.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include <nvm3_hal_flash.h>
3434
#include <nvm3_lock.h>
3535

36-
#ifndef SLI_SI91X_MCU_INTERFACE // 917soc/wifi-sdk implements the same nvm3 lock/unlock mechanism and it currently can't be overide.
3736
#include <FreeRTOS.h>
3837
#include <semphr.h>
3938
// Substitute the GSDK weak nvm3_lockBegin and nvm3_lockEnd
@@ -58,7 +57,6 @@ void nvm3_lockEnd(void)
5857
VerifyOrDie(nvm3_Sem != NULL);
5958
xSemaphoreGive(nvm3_Sem);
6059
}
61-
#endif // !SLI_SI91X_MCU_INTERFACE
6260

6361
namespace chip {
6462
namespace DeviceLayer {
@@ -78,9 +76,7 @@ CHIP_ERROR SilabsConfig::Init()
7876

7977
void SilabsConfig::DeInit()
8078
{
81-
#ifndef SLI_SI91X_MCU_INTERFACE
8279
vSemaphoreDelete(nvm3_Sem);
83-
#endif // !SLI_SI91X_MCU_INTERFACE
8480
nvm3_close(nvm3_defaultHandle);
8581
}
8682

0 commit comments

Comments
 (0)