diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-04-10 01:22:52 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-04-10 01:22:52 +0000 |
commit | 13c111aaece4d2bd06c41a55aee4abcb256a2774 (patch) | |
tree | 84f317b45037fe9c2304084a335cf6efa08730f9 | |
parent | ad07c23a833b56ea186b15d025d2cca2fddee7d5 (diff) | |
download | rockbox-13c111aaece4d2bd06c41a55aee4abcb256a2774.tar.gz 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
-rw-r--r-- | firmware/usb.c | 11 |
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) | |||
138 | or_b(0x08, &PADRL); /* deassert card detect */ | 138 | or_b(0x08, &PADRL); /* deassert card detect */ |
139 | } | 139 | } |
140 | or_b(0x28, &PAIORL); /* output for USB enable and card detect */ | 140 | or_b(0x28, &PAIORL); /* output for USB enable and card detect */ |
141 | #elif defined(USB_ISP1582) | ||
142 | /* TODO: Implement USB_ISP1582 */ | ||
143 | (void) on; | ||
144 | #elif defined(USB_X5M5_STYLE) | ||
145 | /* TODO X5 */ | ||
146 | #elif defined(USB_GIGABEAT_STYLE) | ||
147 | /* TODO gigabeat */ | ||
148 | #else | 141 | #else |
149 | #ifdef HAVE_LCD_BITMAP | 142 | #ifdef HAVE_LCD_BITMAP |
150 | if(read_hw_mask() & USB_ACTIVE_HIGH) | 143 | if(read_hw_mask() & USB_ACTIVE_HIGH) |
@@ -351,10 +344,6 @@ bool usb_detect(void) | |||
351 | #ifdef USB_PLAYERSTYLE | 344 | #ifdef USB_PLAYERSTYLE |
352 | current_status = (PADR & 0x8000)?false:true; | 345 | current_status = (PADR & 0x8000)?false:true; |
353 | #endif | 346 | #endif |
354 | #ifdef USB_ISP1582 | ||
355 | /* TODO: Implement USB_ISP1582 */ | ||
356 | current_status = false; | ||
357 | #endif | ||
358 | return current_status; | 347 | return current_status; |
359 | } | 348 | } |
360 | #endif | 349 | #endif |