mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-03-14 15:58:54 +01:00
Merge pull request #312 from iranl/patch-3
Fix ESP32-P4 compile when using Arduino as an ESP-IDF component
This commit is contained in:
commit
723cdf0a66
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
|
|||
if (!m_initialized) {
|
||||
# ifdef ESP_PLATFORM
|
||||
|
||||
# ifdef CONFIG_ENABLE_ARDUINO_DEPENDS
|
||||
# if defined(CONFIG_ENABLE_ARDUINO_DEPENDS) && SOC_BT_SUPPORTED
|
||||
// make sure the linker includes esp32-hal-bt.c so Arduino init doesn't release BLE memory.
|
||||
btStarted();
|
||||
# endif
|
||||
|
|
Loading…
Add table
Reference in a new issue