summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/main.c b/apps/main.c
index 3909000798..04f3f7890e 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -172,12 +172,11 @@ void init(void)
172 172
173 status_init(); 173 status_init();
174 usb_start_monitoring(); 174 usb_start_monitoring();
175 power_init();
176 playlist_init(); 175 playlist_init();
177 tree_init(); 176 tree_init();
178 177
179 /* This one must be the last one, since it wants the rest of the buffer 178 /* No buffer allocation (see buffer.c) may take place after the call to
180 space */ 179 mpeg_init() since the mpeg thread takes the rest of the buffer space */
181 mpeg_init( global_settings.volume, 180 mpeg_init( global_settings.volume,
182 global_settings.bass, 181 global_settings.bass,
183 global_settings.treble, 182 global_settings.treble,
@@ -186,6 +185,8 @@ void init(void)
186 global_settings.bass_boost, 185 global_settings.bass_boost,
187 global_settings.avc, 186 global_settings.avc,
188 global_settings.channel_config ); 187 global_settings.channel_config );
188
189 power_init();
189} 190}
190 191
191int main(void) 192int main(void)