fix: free BT only after provisioning

This commit is contained in:
2026-05-16 11:57:17 +02:00
parent dd61c782cb
commit 6f313f0145
+1 -1
View File
@@ -103,7 +103,7 @@ esp_err_t provisioning_run(void)
network_prov_mgr_config_t config = {
.scheme = network_prov_scheme_ble,
.scheme_event_handler = NETWORK_PROV_SCHEME_BLE_EVENT_HANDLER_FREE_BTDM,
.scheme_event_handler = NETWORK_PROV_SCHEME_BLE_EVENT_HANDLER_FREE_BT,
.network_prov_wifi_conn_cfg = { .wifi_conn_attempts = 3 },
};
ESP_ERROR_CHECK(network_prov_mgr_init(config));