fix: free BT only after provisioning
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user