diff --git a/CHANGELOG.md b/CHANGELOG.md index bc56330be..37a2c600f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - GATT Service: Broadcast Audio Scamn Service Server and Client (BASS 1.0) ### Fixed +- ESP32: fix init for BR/EDR Only mode + ### Changed - Mesh: move GATT Services into src/mesh/gatt-service - SM: delete bonding information for existing device with BD_ADDR, on new pairing with different IRK diff --git a/port/esp32/components/btstack/btstack_port_esp32.c b/port/esp32/components/btstack/btstack_port_esp32.c index d835f121d..91fd992e8 100644 --- a/port/esp32/components/btstack/btstack_port_esp32.c +++ b/port/esp32/components/btstack/btstack_port_esp32.c @@ -260,7 +260,7 @@ static int transport_open(void){ #if CONFIG_IDF_TARGET_ESP32 #if CONFIG_BTDM_CTRL_MODE_BTDM bt_mode = ESP_BT_MODE_BTDM; -#elif BTDM_CTRL_MODE_BR_EDR_ONLY +#elif CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY bt_mode = ESP_BT_MODE_CLASSIC_BT; #endif #endif