From d4735224bbb27fae62a852c882e6524c6fd716d6 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Thu, 3 Jul 2003 22:11:14 +0000 Subject: 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 --- firmware/export/usb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/export/usb.h') 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); void usb_acknowledge(int id); void usb_wait_for_disconnect(struct event_queue *q); int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); -bool usb_inserted(void); +bool usb_inserted(void); /* return the official value, what's been reported to the threads */ +bool usb_detect(void); /* return the raw hardware value */ #endif -- cgit v1.2.3