summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-05-18 14:01:36 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-05-18 14:01:36 +0000
commitc67a7b12be2b5317ca9c4d784b7d3473131dbd1f (patch)
treed40e9f7853b3f327969741afe437fc9453bd24bc /firmware/target/arm
parent306acbd2a11f2993dcde602b2d58748b918ade5a (diff)
"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
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
index 6063ed3727..37d6795f4b 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
@@ -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;
}