summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/usb-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/iriver/usb-target.h')
-rw-r--r--firmware/target/arm/iriver/usb-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/usb-target.h b/firmware/target/arm/iriver/usb-target.h
index 03aa2cbff7..034b012bdd 100644
--- a/firmware/target/arm/iriver/usb-target.h
+++ b/firmware/target/arm/iriver/usb-target.h
@@ -24,6 +24,10 @@
24#ifndef USB_TARGET_H 24#ifndef USB_TARGET_H
25#define USB_TARGET_H 25#define USB_TARGET_H
26 26
27#ifdef HAVE_BOOTLOADER_USB_MODE
28#define USB_DRIVER_CLOSE
29#endif
30
27bool usb_init_device(void); 31bool usb_init_device(void);
28void usb_pin_init(void); /* Init the GPIO input only */ 32void usb_pin_init(void); /* Init the GPIO input only */
29bool usb_plugged(void); /* Returns instantaneous state - always */ 33bool usb_plugged(void); /* Returns instantaneous state - always */