summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/iriver
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-15 08:52:59 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-15 08:52:59 +0000
commit71651cacb62540bd67b56029d551a3ccdeb3c81c (patch)
treeadd48793d0fe87bb5cd18cef4506c676998e55cd /firmware/target/arm/iriver
parent3a1127785b9f29e526b2ab845efe0a313699c459 (diff)
downloadrockbox-71651cacb62540bd67b56029d551a3ccdeb3c81c.tar.gz
rockbox-71651cacb62540bd67b56029d551a3ccdeb3c81c.tar.bz2
rockbox-71651cacb62540bd67b56029d551a3ccdeb3c81c.zip
Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29054 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver')
-rw-r--r--firmware/target/arm/iriver/usb-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/usb-target.h b/firmware/target/arm/iriver/usb-target.h
index 59e7eb5581..03aa2cbff7 100644
--- a/firmware/target/arm/iriver/usb-target.h
+++ b/firmware/target/arm/iriver/usb-target.h
@@ -25,5 +25,7 @@
#define USB_TARGET_H
bool usb_init_device(void);
+void usb_pin_init(void); /* Init the GPIO input only */
+bool usb_plugged(void); /* Returns instantaneous state - always */
#endif