commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton
This commit is contained in:
parent
849ba39544
commit
d85ff46bdf
|
@ -49,6 +49,7 @@ COMPONENT_SRCDIRS := bluedroid/bta/dm \
|
||||||
bluedroid/main \
|
bluedroid/main \
|
||||||
bluedroid/osi \
|
bluedroid/osi \
|
||||||
bluedroid/profiles/esp/ble_button \
|
bluedroid/profiles/esp/ble_button \
|
||||||
|
bluedroid/profiles/esp/wechat_AirSync \
|
||||||
bluedroid/profiles/esp \
|
bluedroid/profiles/esp \
|
||||||
bluedroid/profiles/std/avrc \
|
bluedroid/profiles/std/avrc \
|
||||||
bluedroid/profiles/std/battery \
|
bluedroid/profiles/std/battery \
|
||||||
|
|
|
@ -55,7 +55,7 @@ static bool app_cpu_started = false;
|
||||||
static void do_global_ctors(void);
|
static void do_global_ctors(void);
|
||||||
static void main_task(void* args);
|
static void main_task(void* args);
|
||||||
extern void ets_setup_syscalls(void);
|
extern void ets_setup_syscalls(void);
|
||||||
extern void app_main(void);
|
extern void bt_app_main(void);
|
||||||
|
|
||||||
extern int _bss_start;
|
extern int _bss_start;
|
||||||
extern int _bss_end;
|
extern int _bss_end;
|
||||||
|
@ -166,7 +166,7 @@ static void do_global_ctors(void)
|
||||||
|
|
||||||
static void main_task(void* args)
|
static void main_task(void* args)
|
||||||
{
|
{
|
||||||
app_main();
|
bt_app_main();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue