Skip to content

Commit

Permalink
Replace with CHIP_CONFIG_ENABLE_ICD_SERVER
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Dec 4, 2024
1 parent 0ad7020 commit 0628ccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/platform/silabs/wifi/icd/WifiSleepManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ CHIP_ERROR WifiSleepManager::VerifyAndTransitionToLowPowerMode()
return ConfigureDTIMBasedSleep();

#elif RS911X_WIFI // rs9116
#if SL_ICD_ENABLED
#if CHIP_CONFIG_ENABLE_ICD_SERVER
VerifyOrReturnError(ConfigurePowerSave() == SL_STATUS_OK, CHIP_ERROR_INTERNAL);
#endif // SL_ICD_ENABLED
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
return CHIP_NO_ERROR;
#else // wf200
return CHIP_NO_ERROR;
Expand Down
4 changes: 2 additions & 2 deletions src/platform/silabs/wifi/rs911x/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ int32_t wfx_rsi_send_data(void * p, uint16_t len)
return status;
}

#if SL_ICD_ENABLED
#if CHIP_CONFIG_ENABLE_ICD_SERVER
/*********************************************************************
* @fn sl_status_t ConfigurePowerSave(void)
* @brief
Expand Down Expand Up @@ -959,4 +959,4 @@ sl_status_t ConfigurePowerSave(void)
ChipLogDetail(DeviceLayer, "Powersave Config Success");
return SL_STATUS_OK;
}
#endif /* SL_ICD_ENABLED */
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER

0 comments on commit 0628ccc

Please sign in to comment.