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 2634f77 commit 69ccfacCopy full SHA for 69ccfac
src/NimBLEDevice.cpp
@@ -889,7 +889,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
889
esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT);
890
# endif
891
892
-# if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) | !defined(CONFIG_NIMBLE_CPP_IDF)
+# if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) || !defined(CONFIG_NIMBLE_CPP_IDF)
893
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
894
# if defined(CONFIG_IDF_TARGET_ESP32)
895
bt_cfg.mode = ESP_BT_MODE_BLE;
0 commit comments