1
0
Fork 0
forked from len0rd/rockbox

Fixed build errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2113 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-09-01 20:08:08 +00:00
parent 862813d37b
commit 40d866bd9e
4 changed files with 2 additions and 26 deletions

View file

@ -245,11 +245,6 @@ void menu_exit(int m)
Menu menu_run(int m)
{
#ifndef SIMULATOR
#ifdef HAVE_LCD_BITMAP
bool laststate;
#endif
#endif
Menu result = MENU_OK;
menu_draw(m);
@ -330,16 +325,11 @@ Menu menu_run(int m)
#ifndef SIMULATOR
case SYS_USB_CONNECTED:
#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
#ifdef HAVE_LCD_CHARCELLS
lcd_icon(ICON_PARAM, true);
#endif
menu_draw(m);