We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00d20d commit 668916eCopy full SHA for 668916e
src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp
@@ -80,9 +80,9 @@ namespace {
80
uint8_t sButtonStates[SL_SI91x_BUTTON_COUNT] = { 0 };
81
#endif // SL_CATALOG_SIMPLE_BUTTON_PRESENT
82
83
-#if CHIP_CONFIG_ENABLE_ICD_SERVER
+#if CHIP_CONFIG_ENABLE_ICD_SERVER && defined(SL_CATALOG_SIMPLE_BUTTON_PRESENT)
84
bool btn0_pressed = false;
85
-#endif /* SL_ICD_ENABLED */
+#endif // CHIP_CONFIG_ENABLE_ICD_SERVER && defined(SL_CATALOG_SIMPLE_BUTTON_PRESENT)
86
} // namespace
87
88
SilabsPlatform SilabsPlatform::sSilabsPlatformAbstractionManager;
0 commit comments