summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-04-10 01:22:52 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-04-10 01:22:52 +0000
commit13c111aaece4d2bd06c41a55aee4abcb256a2774 (patch)
tree84f317b45037fe9c2304084a335cf6efa08730f9 /firmware
parentad07c23a833b56ea186b15d025d2cca2fddee7d5 (diff)
downloadrockbox-13c111aaece4d2bd06c41a55aee4abcb256a2774.tar.gz
rockbox-13c111aaece4d2bd06c41a55aee4abcb256a2774.tar.bz2
rockbox-13c111aaece4d2bd06c41a55aee4abcb256a2774.zip
Remove unused code (already moved to target tree).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13091 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usb.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index aa6981ddf2..13adc3b391 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -138,13 +138,6 @@ void usb_enable(bool on)
or_b(0x08, &PADRL); /* deassert card detect */
}
or_b(0x28, &PAIORL); /* output for USB enable and card detect */
-#elif defined(USB_ISP1582)
- /* TODO: Implement USB_ISP1582 */
- (void) on;
-#elif defined(USB_X5M5_STYLE)
- /* TODO X5 */
-#elif defined(USB_GIGABEAT_STYLE)
- /* TODO gigabeat */
#else
#ifdef HAVE_LCD_BITMAP
if(read_hw_mask() & USB_ACTIVE_HIGH)
@@ -351,10 +344,6 @@ bool usb_detect(void)
#ifdef USB_PLAYERSTYLE
current_status = (PADR & 0x8000)?false:true;
#endif
-#ifdef USB_ISP1582
- /* TODO: Implement USB_ISP1582 */
- current_status = false;
-#endif
return current_status;
}
#endif