1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jörg Hohensohn 2003-07-03 22:11:14 +00:00
parent 1c114ea028
commit d4735224bb
2 changed files with 15 additions and 4 deletions

View file

@ -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