1
0
Fork 0
forked from len0rd/rockbox

"fix" usb detection on mr500.. by fix I mean tell it we havnt implemented that yet properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17572 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-05-18 14:01:36 +00:00
parent 306acbd2a1
commit c67a7b12be

View file

@ -22,6 +22,7 @@
#include "system.h"
#include "kernel.h"
#include "ata.h"
#include "usb.h"
#define USB_RST_ASSERT
#define USB_RST_DEASSERT
@ -29,10 +30,10 @@
#define USB_VPLUS_PWR_ASSERT
#define USB_VPLUS_PWR_DEASSERT
#define USB_UNIT_IS_PRESENT false
#define USB_UNIT_IS_PRESENT USB_EXTRACTED
/* The usb detect is one pin to the cpu active low */
inline bool usb_detect(void)
inline int usb_detect(void)
{
return USB_UNIT_IS_PRESENT;
}