diff --git a/examples/platform/silabs/BaseApplication.cpp b/examples/platform/silabs/BaseApplication.cpp index e5b5c0ba58f2a3..083298df1cf72e 100644 --- a/examples/platform/silabs/BaseApplication.cpp +++ b/examples/platform/silabs/BaseApplication.cpp @@ -239,11 +239,6 @@ CHIP_ERROR BaseApplication::Init() SILABS_LOG("Current Software Version String: %s", CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING); SILABS_LOG("Current Software Version: %d", CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION); -#if (defined(ENABLE_WSTK_LEDS) && (defined(SL_CATALOG_SIMPLE_LED_LED1_PRESENT) || defined(SIWX_917))) - LEDWidget::InitGpio(); - sStatusLED.Init(SYSTEM_STATE_LED); -#endif // ENABLE_WSTK_LEDS - #ifdef DIC_ENABLE chip::DeviceLayer::PlatformMgr().AddEventHandler(AppSpecificConnectivityEventCallback, reinterpret_cast(nullptr)); #endif // DIC_ENABLE @@ -251,6 +246,10 @@ CHIP_ERROR BaseApplication::Init() ConfigurationMgr().LogDeviceConfig(); OutputQrCode(true /*refreshLCD at init*/); +#if (defined(ENABLE_WSTK_LEDS) && (defined(SL_CATALOG_SIMPLE_LED_LED1_PRESENT) || defined(SIWX_917))) + LEDWidget::InitGpio(); + sStatusLED.Init(SYSTEM_STATE_LED); +#endif // ENABLE_WSTK_LEDS #ifdef PERFORMANCE_TEST_ENABLED RegisterPerfTestCommands(); diff --git a/src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp b/src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp index b5075514d46dbb..328112fec19de0 100644 --- a/src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp +++ b/src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp @@ -66,6 +66,7 @@ CHIP_ERROR SilabsPlatform::Init(void) void SilabsPlatform::InitLed(void) { // TODO + RSI_Board_Init(); SilabsPlatformAbstractionBase::InitLed(); }