Skip to content

Commit e5fff3a

Browse files
917 trngKey entropy only needed on 917 Soc (#32759)
1 parent e2e56ca commit e5fff3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ static sl_status_t wfx_rsi_init(void)
455455
return status;
456456
}
457457

458+
#ifdef SLI_SI91X_MCU_INTERFACE
458459
const uint32_t trngKey[TRNGKEY_SIZE] = { 0x16157E2B, 0xA6D2AE28, 0x8815F7AB, 0x3C4FCF09 };
459460

460461
// To check the Entropy of TRNG and verify TRNG functioning.
@@ -472,6 +473,7 @@ static sl_status_t wfx_rsi_init(void)
472473
SILABS_LOG("TRNG Key Programming Failed");
473474
return status;
474475
}
476+
#endif // SLI_SI91X_MCU_INTERFACE
475477

476478
wfx_rsi.events = xEventGroupCreateStatic(&rsiDriverEventGroup);
477479
wfx_rsi.dev_state |= WFX_RSI_ST_DEV_READY;
@@ -928,7 +930,6 @@ void ProcessEvent(WfxEvent_t inEvent)
928930
/* ARGSUSED */
929931
void wfx_rsi_task(void * arg)
930932
{
931-
EventBits_t flags;
932933
(void) arg;
933934
sl_status_t status = wfx_rsi_init();
934935

0 commit comments

Comments
 (0)