summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2003-07-03 22:11:14 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2003-07-03 22:11:14 +0000
commitd4735224bbb27fae62a852c882e6524c6fd716d6 (patch)
tree192a338eb5b31ec6ee1e94218d5c5ab2c5ac8a67 /firmware/export
parent1c114ea0287586a24adfb1ae8e72c7f3838b0482 (diff)
downloadrockbox-d4735224bbb27fae62a852c882e6524c6fd716d6.tar.gz
rockbox-d4735224bbb27fae62a852c882e6524c6fd716d6.zip
I needed a function to return the physical USB detect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 089b0f23e6..f1c2c64d23 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -26,6 +26,7 @@ void usb_start_monitoring(void);
26void usb_acknowledge(int id); 26void usb_acknowledge(int id);
27void usb_wait_for_disconnect(struct event_queue *q); 27void usb_wait_for_disconnect(struct event_queue *q);
28int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); 28int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks);
29bool usb_inserted(void); 29bool usb_inserted(void); /* return the official value, what's been reported to the threads */
30bool usb_detect(void); /* return the raw hardware value */
30 31
31#endif 32#endif