Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: USB icon for Players

USB icon for Players

From: nsauzede <nsauzede_at_online.fr>
Date: Tue, 20 Aug 2002 22:18:33 +0200

A small patch to display/remove usb icon on Players when usb cable is
inserted/removed
(sorry if someone is already taking care of the icons)

And I think I've found a case where the double-height line-mode persists
after the bootup logo : I happened once (I can't reproduce it right now)
when in Resume mode on, and was playing a file in a playlist

I'll try to look a bit more at it...


NSauzede.
---------------------------------

--- ../Copie de cvs/firmware/usb.c Wed Jul 24 17:09:50 2002
+++ firmware/usb.c Tue Aug 20 20:10:08 2002
_at__at_ -185,6 +185,9 _at__at_
                 waiting_for_ack = true;
                 DEBUGF("USB extracted. Waiting for ack from %d
threads...\n",
                        num_acks_to_expect);
+#ifdef HAVE_LCD_CHARCELLS
+ lcd_icon(ICON_USB, false);
+#endif
                 break;

             case SYS_USB_DISCONNECTED_ACK:
_at__at_ -304,6 +307,9 _at__at_
     lcd_update();
 #else
     lcd_puts(0, 0, "[USB Mode]");
+#ifdef HAVE_LCD_CHARCELLS
+ lcd_icon(ICON_USB, true);
+#endif
 #endif
 }
Received on 2002-08-20

Page template was last modified "Sat Sep 18 20:21:06 2021" The Rockbox Crew -- Privacy Policy