]> granicus.if.org Git - esp-idf/blobdiff - examples/09_a2dp/main/demo_main.c
component/bt: Merge branch 'master' into feature/btdm_a2dp
[esp-idf] / examples / 09_a2dp / main / demo_main.c
index fae8b983f1f7fc4e31bb39f04142d14eafb460ed..7d7bf118b2e0bbc1a22a334a67e06e727df2ea91 100755 (executable)
@@ -8,7 +8,7 @@
 
 #include "nvs_flash.h"
 #include "esp_system.h"
-#include "EspAudio.h"
+// #include "EspAudio.h"
 
 extern void bte_main_boot_entry(void *);
 extern void bt_app_task_start_up(void);
@@ -17,13 +17,9 @@ extern void bt_app_core_start(void);
 void app_main()
 {
     nvs_flash_init();
-    system_init();
-    #include "psramApi.h"
-    psram_cache_enable();    
-    
-    printf("Free memory: %d bytes\n", system_get_free_heap_size());
-    EspAudio_Init();
+    // system_init();
+    // printf("Free memory: %d bytes\n", system_get_free_heap_size());
+    // EspAudio_Init();
     bt_controller_init();
     bt_app_task_start_up();
-    // bte_main_boot_entry(bt_app_core_start);
 }