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 4b05541 commit 761bac7Copy full SHA for 761bac7
src/NimBLEDevice.cpp
@@ -757,7 +757,7 @@ NimBLEAddress NimBLEDevice::getWhiteListAddress(size_t index) {
757
esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT);
758
759
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
760
-#ifdef CONFIG_IDF_TARGET_ESP32C3
+#if defined (CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
761
bt_cfg.bluetooth_mode = ESP_BT_MODE_BLE;
762
#else
763
bt_cfg.mode = ESP_BT_MODE_BLE;
0 commit comments