commit | d3b645e42d659d512bce5a5904d7fb70de2fce4d | [log] [tgz] |
---|---|---|
author | Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com> | Tue Sep 24 10:10:42 2024 -0400 |
committer | GitHub <noreply@github.com> | Tue Sep 24 14:10:42 2024 +0000 |
tree | 462f78e71d98c3ece11fbbe5023c73ce00631cc2 | |
parent | 756b329e9675f04bb1bb7f1ae2ea53ab09e21b00 [diff] |
conditional include of sl_matter_ota_config.h (#35724)
diff --git a/examples/platform/silabs/OTAConfig.h b/examples/platform/silabs/OTAConfig.h index c97202e..07d6103 100644 --- a/examples/platform/silabs/OTAConfig.h +++ b/examples/platform/silabs/OTAConfig.h
@@ -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