Skip to content

Commit ddcdd12

Browse files
committed
audio_player: code clean up
1 parent e6c4608 commit ddcdd12

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
@@ -121,7 +121,7 @@ static void audio_player_task(void *pvParameters)
121121
void audio_player_play_file(uint8_t idx)
122122
{
123123
#ifdef CONFIG_ENABLE_AUDIO_PROMPT
124-
if (idx >= (sizeof(mp3_file_ptr) / 2)) {
124+
if (idx >= sizeof(mp3_file_ptr)/2) {
125125
ESP_LOGE(TAG, "invalid file index");
126126
return;
127127
}

0 commit comments

Comments
 (0)