mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
37daec75fb
commit
5d585f4b9b
8 changed files with 347 additions and 295 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue