From: yulong Date: Tue, 11 Oct 2016 12:05:58 +0000 (-0400) Subject: commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton X-Git-Tag: v1.0~2^2~68^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d85ff46bdf7008b0db9ac14c580dbaef1b0c233d;p=esp-idf commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton --- diff --git a/components/bt/component.mk b/components/bt/component.mk index c458570503..cf2805bb7b 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 7b2ccdc609..7d875080b4 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); }