Skip to content

Commit

Permalink
Fix some build issues with wifi-ncp combos (#29400)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored Sep 22, 2023
1 parent 05bcbec commit 2171ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,7 @@ sl_status_t wfx_connect_to_ap(void)
***********************************************************************/
sl_status_t wfx_power_save()
{
if (wfx_rsi_power_save() != RSI_ERROR_NONE)
{
return SL_STATUS_FAIL;
}
return SL_STATUS_OK;
return (wfx_rsi_power_save() ? SL_STATUS_FAIL : SL_STATUS_OK);
}
#endif /* SL_ICD_ENABLED */

Expand Down
1 change: 1 addition & 0 deletions src/platform/silabs/rs911x/rsi_ble_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "rsi_ble_apis.h"
#if (SIWX_917 | EXP_BOARD)
#include "rsi_bt_common_apis.h"
#include "rsi_user.h"
#else
#include <rsi_data_types.h>
Expand Down

0 comments on commit 2171ee8

Please sign in to comment.