summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index c01e2d8..80f2d54 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -136,6 +136,8 @@ void init(void)
button_init();
+ power_init(); /* moved up from below mpeg_init, hope that's not harmful */
+
if (coldstart && charger_inserted())
{
rc = charging_screen(); /* display a "charging" screen */
@@ -201,8 +203,6 @@ void init(void)
global_settings.avc,
global_settings.channel_config );
- power_init();
-
if (coldstart && !usb_detect())
{ /* when starting from flash, this time _we_ have to yield */
int fd;