From 85f6f2177ab8ce81a332c4984379803265a1a57d Mon Sep 17 00:00:00 2001 From: GengYuchao Date: Wed, 8 Jun 2022 16:53:39 +0800 Subject: [PATCH] Sync change with c2 bt component change --- porting/nimble/src/nimble_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index 033eb76bc..dc4c2d793 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -70,7 +70,7 @@ void nimble_port_init(void) { #if SOC_ESP_NIMBLE_CONTROLLER - struct esp_bt_controller_config_t config_opts = BT_CONTROLLER_INIT_CONFIG_DEFAULT(); + esp_bt_controller_config_t config_opts = BT_CONTROLLER_INIT_CONFIG_DEFAULT(); if(esp_bt_controller_init(&config_opts) != 0) { ESP_LOGE(NIMBLE_PORT_LOG_TAG, "controller init failed\n"); return;