diff options
| author | Justin Heiner <jheiner@rockbox.org> | 2002-08-31 04:58:35 +0000 |
|---|---|---|
| committer | Justin Heiner <jheiner@rockbox.org> | 2002-08-31 04:58:35 +0000 |
| commit | b5025a8c40ada463ff2e0c0e1ec15328670b4fa8 (patch) | |
| tree | 13803997be280176868a782bb9a6c415b9381690 /apps/tree.c | |
| parent | ae17b526ff69cfa3c02078cd5b6cfc1c6aa61de7 (diff) | |
| download | rockbox-b5025a8c40ada463ff2e0c0e1ec15328670b4fa8.zip rockbox-b5025a8c40ada463ff2e0c0e1ec15328670b4fa8.tar.gz rockbox-b5025a8c40ada463ff2e0c0e1ec15328670b4fa8.tar.bz2 rockbox-b5025a8c40ada463ff2e0c0e1ec15328670b4fa8.tar.xz | |
USB Related:
Consolidated some more of the USB code in the WPS.
Have backlight turn offf when USB Connected.
menu.c:
LINE_X was set wrong for player.
settings_menu.c / wps-display.c:
Added 1 Line ID3+. Has progress bar & Kbps.
Renamed some of the WPS options to be more readable.
wps.c / wps-display.c
Fixed problem with FF/REW when 'Remaining Time' is on.
Added %pb to the WPS mix. Player progress bar thingy.
Thanks to whoever fixed my PLAYER_PROGRESS function :-)
Changed how volume changes on player (works better now).
General cleanup of Custom WPS code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2091 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 7c4d0e6..6dbf550 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -26,6 +26,7 @@ #include "dir.h" #include "file.h" #include "lcd.h" +#include "backlight.h" #include "button.h" #include "kernel.h" #include "usb.h" @@ -731,12 +732,16 @@ bool dirbrowse(char *root) #ifdef HAVE_LCD_BITMAP bool laststate=statusbar(false); #endif + backlight_time(4); + /* Tell the USB thread that we are safe */ DEBUGF("dirbrowse got SYS_USB_CONNECTED\n"); usb_acknowledge(SYS_USB_CONNECTED_ACK); /* Wait until the USB cable is extracted again */ usb_wait_for_disconnect(&button_queue); + + backlight_time(global_settings.backlight); /* Force a re-read of the root directory */ restore = true; |