Skip to content

Commit

Permalink
changes wifi defines (#18842)
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs authored and pull[bot] committed Oct 20, 2023
1 parent 056aa92 commit 2270974
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/platform/efr32/matter_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <mbedtls/platform.h>

#if SILABS_WIFI
#ifdef SL_WIFI
#include "wfx_host_events.h"
#endif /* RS911X_WIFI */

Expand Down Expand Up @@ -142,7 +142,7 @@ CHIP_ERROR EFR32MatterConfig::InitMatter(const char * appName)
EFR32_LOG("Starting Platform Manager Event Loop");
ReturnErrorOnFailure(PlatformMgr().StartEventLoopTask());

#if SILABS_WIFI
#ifdef SL_WIFI
InitWiFi();
#endif
// Init Matter OTA
Expand All @@ -157,7 +157,7 @@ CHIP_ERROR EFR32MatterConfig::InitMatter(const char * appName)
return CHIP_NO_ERROR;
}

#if SILABS_WIFI
#ifdef SL_WIFI
void EFR32MatterConfig::InitWiFi(void)
{
#ifdef WF200_WIFI
Expand All @@ -176,7 +176,7 @@ void EFR32MatterConfig::InitWiFi(void)
*/
#endif
}
#endif // SILABS_WIFI
#endif // SL_WIFI

// ================================================================================
// FreeRTOS Callbacks
Expand Down

0 comments on commit 2270974

Please sign in to comment.