Skip to content

Commit

Permalink
conditional include of sl_matter_ota_config.h (#35724)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Sep 24, 2024
1 parent 756b329 commit d3b645e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platform/silabs/OTAConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <platform/silabs/OTAImageProcessorImpl.h>
#endif

#if (SL_MATTER_GN_BUILD == 0)
#if (SL_MATTER_GN_BUILD == 0) && defined(SILABS_OTA_ENABLED)
#include "sl_matter_ota_config.h"
#endif

Expand Down

0 comments on commit d3b645e

Please # to comment.