diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-17 20:38:38 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-17 20:38:38 +0000 |
| commit | 67bea32c0827db96e1daa47d2efb63903360dc42 (patch) | |
| tree | 5a7f22333c6ba2ec0dc94cf76333e9dc126a60a4 /apps | |
| parent | b1bb610cba285cc76554650231ccea1695451daa (diff) | |
| download | rockbox-67bea32c0827db96e1daa47d2efb63903360dc42.zip rockbox-67bea32c0827db96e1daa47d2efb63903360dc42.tar.gz rockbox-67bea32c0827db96e1daa47d2efb63903360dc42.tar.bz2 rockbox-67bea32c0827db96e1daa47d2efb63903360dc42.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/main.c b/apps/main.c index 3909000..04f3f78 100644 --- a/apps/main.c +++ b/apps/main.c @@ -172,12 +172,11 @@ void init(void) status_init(); usb_start_monitoring(); - power_init(); playlist_init(); tree_init(); - /* This one must be the last one, since it wants the rest of the buffer - space */ + /* No buffer allocation (see buffer.c) may take place after the call to + mpeg_init() since the mpeg thread takes the rest of the buffer space */ mpeg_init( global_settings.volume, global_settings.bass, global_settings.treble, @@ -186,6 +185,8 @@ void init(void) global_settings.bass_boost, global_settings.avc, global_settings.channel_config ); + + power_init(); } int main(void) |