esp32: fix init for BR/EDR only mode

This commit is contained in:
Matthias Ringwald 2022-10-10 14:26:04 +02:00
parent 1e4fedb96f
commit 5451dc6db6
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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