Skip to content

Commit 657d85d

Browse files
conditional include of sl_matter_ota_config.h
1 parent a99bb07 commit 657d85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/platform/silabs/OTAConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <platform/silabs/OTAImageProcessorImpl.h>
3030
#endif
3131

32-
#if (SL_MATTER_GN_BUILD == 0)
32+
#if (SL_MATTER_GN_BUILD == 0) && defined(SILABS_OTA_ENABLED)
3333
#include "sl_matter_ota_config.h"
3434
#endif
3535

0 commit comments

Comments
 (0)