Skip to content

Commit f1b900d

Browse files
authored
fix(matter): if CHIPoBLE is not defined, it doesn't support it
1 parent 520eafc commit f1b900d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libraries/Matter/src/Matter.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,7 @@ bool ArduinoMatter::isBLECommissioningEnabled() {
218218
#if CONFIG_ENABLE_CHIPOBLE
219219
return true;
220220
#else
221-
// Also check if BLE stack is enabled (Bluedroid or NimBLE)
222-
#if defined(CONFIG_BLUEDROID_ENABLED) || defined(CONFIG_NIMBLE_ENABLED)
223-
return true;
224-
#else
225221
return false;
226-
#endif
227222
#endif
228223
#else
229224
return false;

0 commit comments

Comments
 (0)