diff --git a/components/bt/component.mk b/components/bt/component.mk index c45857050..cf2805bb7 100644 --- a/components/bt/component.mk +++ b/components/bt/component.mk @@ -49,6 +49,7 @@ COMPONENT_SRCDIRS := bluedroid/bta/dm \ bluedroid/main \ bluedroid/osi \ bluedroid/profiles/esp/ble_button \ + bluedroid/profiles/esp/wechat_AirSync \ bluedroid/profiles/esp \ bluedroid/profiles/std/avrc \ bluedroid/profiles/std/battery \ diff --git a/components/esp32/cpu_start.c b/components/esp32/cpu_start.c index 7b2ccdc60..7d875080b 100644 --- a/components/esp32/cpu_start.c +++ b/components/esp32/cpu_start.c @@ -55,7 +55,7 @@ static bool app_cpu_started = false; static void do_global_ctors(void); static void main_task(void* args); extern void ets_setup_syscalls(void); -extern void app_main(void); +extern void bt_app_main(void); extern int _bss_start; extern int _bss_end; @@ -166,7 +166,7 @@ static void do_global_ctors(void) static void main_task(void* args) { - app_main(); + bt_app_main(); vTaskDelete(NULL); }