summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r--firmware/mp3_playback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index 2bbd08d789..8e19829f56 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -69,9 +69,7 @@ static void (*callback_for_more)(unsigned char**, size_t*);
69#define MAX_ID3_TAGS (1<<4) /* Must be power of 2 */ 69#define MAX_ID3_TAGS (1<<4) /* Must be power of 2 */
70#define MAX_ID3_TAGS_MASK (MAX_ID3_TAGS - 1) 70#define MAX_ID3_TAGS_MASK (MAX_ID3_TAGS - 1)
71 71
72#ifndef SIMULATOR
73bool audio_is_initialized = false; 72bool audio_is_initialized = false;
74#endif
75 73
76/* FIX: this code pretty much assumes a MAS */ 74/* FIX: this code pretty much assumes a MAS */
77 75
@@ -353,6 +351,7 @@ void mp3_init(int volume, int bass, int treble, int balance, int loudness,
353 (void)mdb_shape; 351 (void)mdb_shape;
354 (void)mdb_enable; 352 (void)mdb_enable;
355 (void)superbass; 353 (void)superbass;
354 audio_is_initialized = true;
356#else 355#else
357#if CONFIG_CODEC == MAS3507D 356#if CONFIG_CODEC == MAS3507D
358 unsigned long val; 357 unsigned long val;