diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-03-30 21:54:48 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-03-30 21:54:48 +0000 |
| commit | d2b305571edbdf9d3f941ac22c03c96cd59e4da4 (patch) | |
| tree | 6bf2733d238be0cb8f984a03d0f6f4372d14c7cf /apps/menu.c | |
| parent | 11fa3a871cf59707fa91c1cedfbb0ee9795c1ac1 (diff) | |
| download | rockbox-d2b305571edbdf9d3f941ac22c03c96cd59e4da4.zip rockbox-d2b305571edbdf9d3f941ac22c03c96cd59e4da4.tar.gz rockbox-d2b305571edbdf9d3f941ac22c03c96cd59e4da4.tar.bz2 rockbox-d2b305571edbdf9d3f941ac22c03c96cd59e4da4.tar.xz | |
Check if a new version got installed after usb disconnect and ask if user wants to reboot. Causes disk spinup before showing the usb logo. Also fixes do_menu() not returning to root_menu after usb disconnect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
| -rw-r--r-- | apps/menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c index 0ac0166..5722d1f 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -617,7 +617,10 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected) #endif } else if(default_event_handler(action) == SYS_USB_CONNECTED) + { ret = MENU_ATTACHED_USB; + done = true; + } gui_syncstatusbar_draw(&statusbars, true); gui_synclist_draw(&lists); } |