commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton

This commit is contained in:
yulong 2016-10-11 08:05:58 -04:00
parent 849ba39544
commit d85ff46bdf
2 changed files with 3 additions and 2 deletions

View file

@ -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 \

View file

@ -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);
}