diff options
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 65fb024db3..a4632aae38 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1230,7 +1230,7 @@ static void mpeg_thread(void) | |||
1230 | { | 1230 | { |
1231 | static int pause_tick = 0; | 1231 | static int pause_tick = 0; |
1232 | static unsigned int pause_track = 0; | 1232 | static unsigned int pause_track = 0; |
1233 | struct event ev; | 1233 | struct queue_event ev; |
1234 | int len; | 1234 | int len; |
1235 | int free_space_left; | 1235 | int free_space_left; |
1236 | int unplayed_space_left; | 1236 | int unplayed_space_left; |
@@ -2910,8 +2910,9 @@ void audio_init(void) | |||
2910 | queue_init(&mpeg_queue, true); | 2910 | queue_init(&mpeg_queue, true); |
2911 | #endif /* !SIMULATOR */ | 2911 | #endif /* !SIMULATOR */ |
2912 | create_thread(mpeg_thread, mpeg_stack, | 2912 | create_thread(mpeg_thread, mpeg_stack, |
2913 | sizeof(mpeg_stack), mpeg_thread_name IF_PRIO(, PRIORITY_SYSTEM) | 2913 | sizeof(mpeg_stack), 0, mpeg_thread_name |
2914 | IF_COP(, CPU, false)); | 2914 | IF_PRIO(, PRIORITY_SYSTEM) |
2915 | IF_COP(, CPU)); | ||
2915 | 2916 | ||
2916 | memset(trackdata, sizeof(trackdata), 0); | 2917 | memset(trackdata, sizeof(trackdata), 0); |
2917 | 2918 | ||