path: root/apps/tree.c
diff options
authorJustin Heiner <>2002-08-31 04:58:35 +0000
committerJustin Heiner <>2002-08-31 04:58:35 +0000
commitb5025a8c40ada463ff2e0c0e1ec15328670b4fa8 (patch)
tree13803997be280176868a782bb9a6c415b9381690 /apps/tree.c
parentae17b526ff69cfa3c02078cd5b6cfc1c6aa61de7 (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7c4d0e62e3..6dbf55046a 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)
bool laststate=statusbar(false);
+ backlight_time(4);
/* Tell the USB thread that we are safe */
DEBUGF("dirbrowse got SYS_USB_CONNECTED\n");
/* Wait until the USB cable is extracted again */
+ backlight_time(global_settings.backlight);
/* Force a re-read of the root directory */
restore = true;