Skip to content

Commit d670161

Browse files
Resolved review comments
1 parent 527c1d9 commit d670161

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

examples/platform/silabs/MatterConfig.cpp

+7-5
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@
4646
#endif
4747

4848
// TODO: We shouldn't need any platform specific includes in this file
49-
#if ((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) || defined(EXP_BOARD))
50-
#include <platform/silabs/wifi/wiseconnect-interface/WiseconnectWifiInterface.h>
51-
#if !defined(EXP_BOARD)
49+
#if (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1)
5250
#include <platform/silabs/SiWx917/SiWxPlatformInterface.h>
53-
#endif //! defined(EXP_BOARD)
54-
#endif //((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1 ) || defined(EXP_BOARD))
51+
#include <platform/silabs/wifi/wiseconnect-interface/WiseconnectWifiInterface.h>
52+
#endif // (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1 )
53+
54+
#if defined(EXP_BOARD))
55+
#include <platform/silabs/wifi/wiseconnect-interface/WiseconnectWifiInterface.h>
56+
#endif // defined(EXP_BOARD)
5557

5658
#include <crypto/CHIPCryptoPAL.h>
5759
// If building with the EFR32-provided crypto backend, we can use the

src/platform/silabs/wifi/SiWx/WifiInterfaceImpl.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ sl_status_t sl_wifi_siwx917_init(void)
314314
return status;
315315
}
316316

317-
// TODO: this changes will be reverted back after the Silabs WiFi SDK team fix the scan API
318317
sl_status_t ScanCallback(sl_wifi_event_t event, sl_wifi_scan_result_t * scan_result, uint32_t result_length, void * arg)
319318
{
320319
sl_status_t status = SL_STATUS_OK;
@@ -344,10 +343,8 @@ sl_status_t InitiateScan()
344343
{
345344
sl_status_t status = SL_STATUS_OK;
346345

347-
// TODO: this changes will be reverted back after the Silabs WiFi SDK team fix the scan API
348346
sl_wifi_ssid_t ssid = { 0 };
349347

350-
// TODO: this changes will be reverted back after the Silabs WiFi SDK team fix the scan API
351348
sl_wifi_scan_configuration_t wifi_scan_configuration = default_wifi_scan_configuration;
352349

353350
ssid.length = wfx_rsi.sec.ssid_length;

0 commit comments

Comments
 (0)