summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-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;