Skip to content

Commit 668916e

Browse files
[SL-UP] Custom board part build fix (#597)
1 parent d00d20d commit 668916e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ namespace {
8080
uint8_t sButtonStates[SL_SI91x_BUTTON_COUNT] = { 0 };
8181
#endif // SL_CATALOG_SIMPLE_BUTTON_PRESENT
8282

83-
#if CHIP_CONFIG_ENABLE_ICD_SERVER
83+
#if CHIP_CONFIG_ENABLE_ICD_SERVER && defined(SL_CATALOG_SIMPLE_BUTTON_PRESENT)
8484
bool btn0_pressed = false;
85-
#endif /* SL_ICD_ENABLED */
85+
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER && defined(SL_CATALOG_SIMPLE_BUTTON_PRESENT)
8686
} // namespace
8787

8888
SilabsPlatform SilabsPlatform::sSilabsPlatformAbstractionManager;

0 commit comments

Comments
 (0)