mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -109,7 +109,7 @@ static int hp_detect_callback(struct timeout *tmo)
|
|||
|
||||
#if defined(IPOD_ACCESSORY_PROTOCOL) && (defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) || defined(IPOD_MINI2G))
|
||||
if (id == SYS_PHONE_UNPLUGGED)
|
||||
iap_reset_state(1);
|
||||
iap_reset_state(IF_IAP_MP(1));
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue