]> granicus.if.org Git - esp-idf/commitdiff
commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton
authoryulong <yulong@yulong-mac.(none)>
Tue, 11 Oct 2016 12:05:58 +0000 (08:05 -0400)
committeryulong <yulong@yulong-mac.(none)>
Tue, 11 Oct 2016 12:05:58 +0000 (08:05 -0400)
components/bt/component.mk
components/esp32/cpu_start.c

index c45857050306eda3b36e6e1962f46f5445f26312..cf2805bb7b904ab44e920b3e69e690e6c8aef401 100644 (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          \
index 7b2ccdc609610a977f21657c0be9c45b110ab8f7..7d875080b43d30cb2a5ede62fa1490da0f3f707d 100644 (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);
 }