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:
parent
306acbd2a1
commit
c67a7b12be
1 changed files with 3 additions and 2 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
#include "ata.h"
|
#include "ata.h"
|
||||||
|
#include "usb.h"
|
||||||
|
|
||||||
#define USB_RST_ASSERT
|
#define USB_RST_ASSERT
|
||||||
#define USB_RST_DEASSERT
|
#define USB_RST_DEASSERT
|
||||||
|
|
@ -29,10 +30,10 @@
|
||||||
#define USB_VPLUS_PWR_ASSERT
|
#define USB_VPLUS_PWR_ASSERT
|
||||||
#define USB_VPLUS_PWR_DEASSERT
|
#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 */
|
/* 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;
|
return USB_UNIT_IS_PRESENT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue