Skip to content

Commit

Permalink
update:audio demo开放给更多芯片使用
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Dec 12, 2024
1 parent 2bd675a commit 22b9eed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions project/example_audio/src/audio_example_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,7 @@ static void test_audio_demo_init(void)
gpio_cfg.alt_fun = CODEC_PWR_PIN_ALT_FUN;
luat_gpio_open(&gpio_cfg);

// 当前仅EC718p/EC718pv支持这个demo
#if defined TYPE_EC718P
#if (defined TYPE_EC718P) || (defined TYPE_EC718P) || (defined TYPE_EC718M)
luat_rtos_task_create(&g_s_task_handle, 8192, 100, "test", demo_task, NULL, 0);
// audio_play_set_ram_type(LUAT_HEAP_SRAM); //打开后消耗RAM较多的地方将使用SRAM,否则使用AUTO模式
#endif
Expand Down

0 comments on commit 22b9eed

Please sign in to comment.