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
This commit is contained in:
Tomer Shalev 2009-10-19 21:19:30 +00:00
parent 37daec75fb
commit 5d585f4b9b
8 changed files with 347 additions and 295 deletions

View file

@ -417,7 +417,7 @@ Kernel
time". This function is the entire foundation that our "cooperative
multitasking" is based on. Use it.
void usb_screen(void);
void gui_usb_screen_run(void);
Show the usb connection screen.
@ -427,7 +427,7 @@ Kernel
int default_event_handler(int event);
If event == SYS_USB_CONNECTED, call usb_screen and return
If event == SYS_USB_CONNECTED, call gui_usb_screen_run and return
SYS_USB_CONNECTED. Else do nothing and return 0.
int create_thread(void* function, void* stack, int stack_size,