summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-02 15:46:37 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-02 15:46:37 +0000
commit4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758 (patch)
treeac97056d6b3f19d6c1f88ef711e85611516e302d /firmware
parent53952460045e24f778cae9f5163b6cf46d28355f (diff)
downloadrockbox-4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758.tar.gz
rockbox-4f8e7250f4d8d9e214fb7eb8cb4cdfdeb5a44758.zip
iPod USB code has already been moved to the target tree so it's not used here any more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index f585544024..651c17a4b3 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -350,14 +350,6 @@ bool usb_detect(void)
350#ifdef USB_PLAYERSTYLE 350#ifdef USB_PLAYERSTYLE
351 current_status = (PADR & 0x8000)?false:true; 351 current_status = (PADR & 0x8000)?false:true;
352#endif 352#endif
353#ifdef USB_IPODSTYLE
354 /* The following check is in the ipodlinux source, with the
355 comment "USB2D_IDENT is bad" if USB2D_IDENT != 0x22FA05 */
356 if (USB2D_IDENT != 0x22FA05) {
357 return false;
358 }
359 current_status = (USB_STATUS & 0x800)?true:false;
360#endif
361#ifdef USB_ISP1582 353#ifdef USB_ISP1582
362 /* TODO: Implement USB_ISP1582 */ 354 /* TODO: Implement USB_ISP1582 */
363 current_status = false; 355 current_status = false;