Skip to content

Commit 59b0a7b

Browse files
committed
audio_player: code clean up
1 parent 82dc8e5 commit 59b0a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/user/audio_player.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static void audio_player_task(void *pvParameters)
102102
void audio_player_play_file(uint8_t idx)
103103
{
104104
#ifdef CONFIG_ENABLE_AUDIO_PROMPT
105-
if (idx >= (sizeof(mp3_file_ptr) / 2)) {
105+
if (idx >= sizeof(mp3_file_ptr)/2) {
106106
ESP_LOGE(TAG, "invalid file index");
107107
return;
108108
}

0 commit comments

Comments
 (0)