From 6f313f0145b282db5770160e0c01e90805dcc939 Mon Sep 17 00:00:00 2001 From: dvdrw Date: Sat, 16 May 2026 11:57:17 +0200 Subject: [PATCH] fix: free BT only after provisioning --- components/provisioning/src/provisioning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/provisioning/src/provisioning.c b/components/provisioning/src/provisioning.c index cafe090..0860508 100644 --- a/components/provisioning/src/provisioning.c +++ b/components/provisioning/src/provisioning.c @@ -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));