forked from len0rd/rockbox
IAP: First steps towards true multiport state
iap_reset_state() and iap_getc() are now passed the logical IAP port (0 is dock/only connector, 1 is headphone connector) Change-Id: I97421146a8cab032b90c9b4eb55b50aa00d73312
This commit is contained in:
parent
e2f2ee88c8
commit
0456ec5630
13 changed files with 32 additions and 20 deletions
|
@ -526,7 +526,7 @@ static void NORETURN_ATTR usb_thread(void)
|
|||
usb_stack_enable(false);
|
||||
|
||||
#ifdef IPOD_ACCESSORY_PROTOCOL
|
||||
iap_reset_state(0);
|
||||
iap_reset_state(IF_IAP_MP(0));
|
||||
#endif
|
||||
|
||||
/* Only disable the USB slave mode if we really have enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue