espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.38k stars 7.22k forks source link

Bluetooth: BTC task name mismatch (IDFGH-2930) #4966

Closed hb-kaertech closed 4 years ago

hb-kaertech commented 4 years ago

Environment

Problem Description

The BT task has two names.

In components/bt/host/bluedroid/stack/btu/btu_init.c: btcT at https://github.com/espressif/esp-idf/blob/fb3d648e07033b952578f187b4fcbf7fd8aced3b/components/bt/common/btc/core/btc_task.c#L71 (currently unused) and BTC_TASK at https://github.com/espressif/esp-idf/blob/fb3d648e07033b952578f187b4fcbf7fd8aced3b/components/bt/common/btc/core/btc_task.c#L336

I believe it was introduced in 9691fe9daefe0242c7f899f0f26bb0b26d4f16db.

Proposed Fix

ghost commented 4 years ago

Hi,

We have already changed the task name, please try to pull the latest IDF. And please close this issue if you have confirmed the changes.

Thanks Weitianhua

hb-kaertech commented 4 years ago

Hello @Wth-Esp,

I still see the issue on the current master branch. BTC_TASK_NAME is unused.

ghost commented 4 years ago

Hi @hb-kaertech

The code should sync to Github after several days.

Thanks Wei Tianhua