mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
iAP: fix USB storage mount after using an iAP accessory
Change-Id: Ieb10da5850e9a2fa751142c2cf29447dccec0a17
This commit is contained in:
parent
108a0f3fd0
commit
cbcc8f368f
1 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
#include "powermgmt.h"
|
#include "powermgmt.h"
|
||||||
|
#include "usb.h"
|
||||||
|
|
||||||
#include "tuner.h"
|
#include "tuner.h"
|
||||||
#include "ipod_remote_tuner.h"
|
#include "ipod_remote_tuner.h"
|
||||||
|
@ -348,6 +349,13 @@ static void iap_thread(void)
|
||||||
iap_shutdown = true;
|
iap_shutdown = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ack USB thread */
|
||||||
|
case SYS_USB_CONNECTED:
|
||||||
|
{
|
||||||
|
usb_acknowledge(SYS_USB_CONNECTED_ACK);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue