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
diff --git a/apps/menu.c b/apps/menu.c
index f0c793a..1940c37 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -17,7 +17,9 @@
*
****************************************************************************/
#include <stdbool.h>
+
#include "lcd.h"
+#include "backlight.h"
#include "menu.h"
#include "button.h"
#include "kernel.h"
@@ -69,7 +71,7 @@
#else /* HAVE_LCD_BITMAP */
-#define LINE_X 0 /* X position the entry-list starts at */
+#define LINE_X 1 /* X position the entry-list starts at */
#define MENU_LINES 2
@@ -331,8 +333,10 @@
#ifdef HAVE_LCD_BITMAP
laststate = statusbar(false);
#endif
+ backlight_time(4);
usb_acknowledge(SYS_USB_CONNECTED_ACK);
usb_wait_for_disconnect(&button_queue);
+ backlight_time(global_settings.backlight);
#ifdef HAVE_LCD_BITMAP
statusbar(laststate);
#else