mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
8d13068421
commit
d83e929f3f
52 changed files with 737 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue