summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/usb-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/usb-target.h')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-target.h b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
index 1f96a9a7eb..31b8080b57 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
@@ -25,6 +25,9 @@
#define USB_DRIVER_CLOSE
#endif
+/* Connect by events, not by tick polling */
+#define USB_STATUS_BY_EVENT
+
void usb_connect_event(void);
void usb_init_device(void);
int usb_detect(void);