diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-19 21:19:30 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-19 21:19:30 +0000 |
commit | 5d585f4b9be0c3a5c6e669133ad0d9a01f8ffb62 (patch) | |
tree | 7ce435a09b4a52ac0b41b398ec3352edcfc7c115 /apps/main.c | |
parent | 37daec75fb9412377c8670955ce641a6a812aa69 (diff) | |
download | rockbox-5d585f4b9be0c3a5c6e669133ad0d9a01f8ffb62.tar.gz rockbox-5d585f4b9be0c3a5c6e669133ad0d9a01f8ffb62.zip |
Extract usb_screen logic out of screens.c into apps/gui/usb_screen.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/main.c b/apps/main.c index 8b6c1bbfbe..52b161b500 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include "playlist.h" | 56 | #include "playlist.h" |
57 | #include "buffer.h" | 57 | #include "buffer.h" |
58 | #include "rolo.h" | 58 | #include "rolo.h" |
59 | #include "screens.h" | 59 | #include "usb_screen.h" |
60 | #include "power.h" | 60 | #include "power.h" |
61 | #include "talk.h" | 61 | #include "talk.h" |
62 | #include "plugin.h" | 62 | #include "plugin.h" |
@@ -492,7 +492,7 @@ static void init(void) | |||
492 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) | 492 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) |
493 | #endif | 493 | #endif |
494 | { | 494 | { |
495 | usb_screen(); | 495 | gui_usb_screen_run(); |
496 | mounted = true; /* mounting done @ end of USB mode */ | 496 | mounted = true; /* mounting done @ end of USB mode */ |
497 | } | 497 | } |
498 | #ifdef HAVE_USB_POWER | 498 | #ifdef HAVE_USB_POWER |
@@ -517,7 +517,7 @@ static void init(void) | |||
517 | lcd_update(); | 517 | lcd_update(); |
518 | 518 | ||
519 | while(button_get(true) != SYS_USB_CONNECTED) {}; | 519 | while(button_get(true) != SYS_USB_CONNECTED) {}; |
520 | usb_screen(); | 520 | gui_usb_screen_run(); |
521 | system_reboot(); | 521 | system_reboot(); |
522 | } | 522 | } |
523 | } | 523 | } |