summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/iap/iap-core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/iap/iap-core.c b/apps/iap/iap-core.c
index e41660392c..653396ae6a 100644
--- a/apps/iap/iap-core.c
+++ b/apps/iap/iap-core.c
@@ -42,6 +42,7 @@
#include "sound.h"
#include "action.h"
#include "powermgmt.h"
+#include "usb.h"
#include "tuner.h"
#include "ipod_remote_tuner.h"
@@ -348,6 +349,13 @@ static void iap_thread(void)
iap_shutdown = true;
break;
}
+
+ /* Ack USB thread */
+ case SYS_USB_CONNECTED:
+ {
+ usb_acknowledge(SYS_USB_CONNECTED_ACK);
+ break;
+ }
}
}
}