1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Justin Heiner 2002-08-31 04:58:35 +00:00
parent ae17b526ff
commit b5025a8c40
8 changed files with 117 additions and 85 deletions

View file

@ -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 @@ struct menu {
#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 @@ Menu menu_run(int m)
#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