1
0
Fork 0
forked from len0rd/rockbox

Moved the power_init() call to after the mpeg_init() call, this is supposed to solve the startup voltage bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3678 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-05-17 20:38:38 +00:00
parent b1bb610cba
commit 67bea32c08

View file

@ -172,12 +172,11 @@ void init(void)
status_init(); status_init();
usb_start_monitoring(); usb_start_monitoring();
power_init();
playlist_init(); playlist_init();
tree_init(); tree_init();
/* This one must be the last one, since it wants the rest of the buffer /* No buffer allocation (see buffer.c) may take place after the call to
space */ mpeg_init() since the mpeg thread takes the rest of the buffer space */
mpeg_init( global_settings.volume, mpeg_init( global_settings.volume,
global_settings.bass, global_settings.bass,
global_settings.treble, global_settings.treble,
@ -186,6 +185,8 @@ void init(void)
global_settings.bass_boost, global_settings.bass_boost,
global_settings.avc, global_settings.avc,
global_settings.channel_config ); global_settings.channel_config );
power_init();
} }
int main(void) int main(void)