mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Some iPod Video's need a 2nd call of ub_drv_init() to establish the USB connection. This workaround breaks the USB functionality for other devices. Until there is a proper fix available just use the workaround for iPod Video only. Fixes FS#12324.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f4a1501d4a
commit
d2958b9d32
1 changed files with 4 additions and 0 deletions
|
|
@ -493,7 +493,11 @@ void usb_drv_init(void)
|
||||||
void usb_drv_attach(void)
|
void usb_drv_attach(void)
|
||||||
{
|
{
|
||||||
logf("usb_drv_attach");
|
logf("usb_drv_attach");
|
||||||
|
#if defined(IPOD_VIDEO)
|
||||||
|
/* FIXME: Some iPod Video's need this 2nd call of usb_drv_init() to establish
|
||||||
|
* an USB connection. */
|
||||||
usb_drv_init();
|
usb_drv_init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_drv_exit(void)
|
void usb_drv_exit(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue