Skip to content

Commit 5386cb2

Browse files
committed
os_core: disable resume music when not using wakeup key
1 parent 8611a4e commit 5386cb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/src/os/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@ void core_init(void)
5959

6060
user_event_group = xEventGroupCreate();
6161

62+
#ifdef CONFIG_ENABLE_WAKEUP_KEY
6263
audio_play_file(2);
64+
#endif
6365
}

0 commit comments

Comments
 (0)