fix bt manager for idf 5

This commit is contained in:
duffy 2026-01-29 21:58:46 +01:00
parent c469c1425b
commit d1ccfa6b25
1 changed files with 1 additions and 1 deletions

View File

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