Skip to content

Commit b425a1a

Browse files
committed
[Bugfix] Arduino 3.3.7 crash - controller invalid state
1 parent ea5f2ec commit b425a1a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/NimBLEDevice.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,4 +1348,10 @@ int NimBLEDeviceCallbacks::onStoreStatus(struct ble_store_status_event* event, v
13481348
return ble_store_util_status_rr(event, arg);
13491349
}
13501350

1351+
# if defined(CONFIG_ENABLE_ARDUINO_DEPENDS) && SOC_BT_SUPPORTED
1352+
bool btInUse(void) {
1353+
return true;
1354+
}
1355+
# endif
1356+
13511357
#endif // CONFIG_BT_NIMBLE_ENABLED

0 commit comments

Comments
 (0)