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.
2 parents 88c5d0c + 148087c commit 723cdf0Copy full SHA for 723cdf0
src/NimBLEDevice.cpp
@@ -844,7 +844,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
844
if (!m_initialized) {
845
# ifdef ESP_PLATFORM
846
847
-# ifdef CONFIG_ENABLE_ARDUINO_DEPENDS
+# if defined(CONFIG_ENABLE_ARDUINO_DEPENDS) && SOC_BT_SUPPORTED
848
// make sure the linker includes esp32-hal-bt.c so Arduino init doesn't release BLE memory.
849
btStarted();
850
# endif
0 commit comments