fix bt manager for idf 5
This commit is contained in:
parent
c469c1425b
commit
d1ccfa6b25
|
|
@ -144,7 +144,7 @@ esp_err_t bt_manager_init(void)
|
|||
|
||||
// Bluetooth Controller konfigurieren
|
||||
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
|
||||
bt_cfg.mode = ESP_BT_MODE_BTDM; // Dual Mode für Classic + BLE
|
||||
// Mode wird bei esp_bt_controller_enable() gesetzt
|
||||
|
||||
esp_err_t ret = esp_bt_controller_init(&bt_cfg);
|
||||
if (ret != ESP_OK) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue