Skip to content

Commit

Permalink
wiseconnect: Fix unavailable header
Browse files Browse the repository at this point in the history
sl_component_catalog.h should be included only if
SL_COMPONENT_CATALOG_PRESENT is set.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
  • Loading branch information
jerome-pouiller authored and jhedberg committed Feb 7, 2025
1 parent dbfa1a3 commit 64b6bff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
#include "sl_status.h"
#include "sl_constants.h"
#include <stdbool.h>
#if defined(SL_COMPONENT_CATALOG_PRESENT)
#include "sl_component_catalog.h"
#endif
#include "sl_board_configuration.h"
#include "rsi_rom_clks.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
*
******************************************************************************/

#if defined(SL_COMPONENT_CATALOG_PRESENT)
#include "sl_component_catalog.h"
#endif
#include "system_si91x.h"
#include "rsi_error.h"
#include "rsi_ccp_common.h"
Expand Down

0 comments on commit 64b6bff

Please # to comment.