1
0
Fork 0
forked from len0rd/rockbox

Work-in-progress iriver iFP-7xx port by Tomasz Malesinski

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-01-12 00:35:50 +00:00
parent 8d13068421
commit d83e929f3f
52 changed files with 737 additions and 18 deletions

View file

@ -180,6 +180,9 @@ void usb_enable(bool on)
outl(1, 0x40017F10);
outl(inl(0x60006004) | 0x4, 0x60006004);
}
#elif defined(USB_ISP1582)
/* TODO: Implement USB_ISP1582 */
(void) on;
#else
#ifdef HAVE_LCD_BITMAP
if(read_hw_mask() & USB_ACTIVE_HIGH)
@ -403,6 +406,10 @@ bool usb_detect(void)
return false;
}
current_status = (USB_STATUS & 0x800)?true:false;
#endif
#ifdef USB_ISP1582
/* TODO: Implement USB_ISP1582 */
current_status = false;
#endif
return current_status;
}