summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-03 18:06:13 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-03 18:06:13 +0000
commit323d75d25f58f6e13c91fe1c42e974cc6fb54c19 (patch)
tree2779a96fdde5a9b10cd06eb2b7c1c4980a858320 /firmware
parentbbe1eaf89ed2345af0ad5d865dcb1d2f58bf40bd (diff)
downloadrockbox-323d75d25f58f6e13c91fe1c42e974cc6fb54c19.tar.gz
rockbox-323d75d25f58f6e13c91fe1c42e974cc6fb54c19.zip
It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the simulator. * Removed a stray lcd_icon() call from usb handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/lcd.h1
-rw-r--r--firmware/usb.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 68f0961a5c..40e5129ad3 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -28,7 +28,6 @@
28#define STYLE_INVERT 1 28#define STYLE_INVERT 1
29 29
30#ifdef SIMULATOR 30#ifdef SIMULATOR
31#define lcd_icon(x,y) sim_lcd_icon(x,y)
32#ifndef MAX_PATH 31#ifndef MAX_PATH
33#define MAX_PATH 260 32#define MAX_PATH 260
34#endif 33#endif
diff --git a/firmware/usb.c b/firmware/usb.c
index f5deed4da6..aa6981ddf2 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -298,9 +298,6 @@ static void usb_thread(void)
298 waiting_for_ack = true; 298 waiting_for_ack = true;
299 DEBUGF("USB extracted. Waiting for ack from %d threads...\n", 299 DEBUGF("USB extracted. Waiting for ack from %d threads...\n",
300 num_acks_to_expect); 300 num_acks_to_expect);
301#ifdef HAVE_LCD_CHARCELLS
302 lcd_icon(ICON_USB, false);
303#endif
304 break; 301 break;
305 302
306 case SYS_USB_DISCONNECTED_ACK: 303 case SYS_USB_DISCONNECTED_ACK: