forked from len0rd/rockbox
D2: Remove USB detection as it's not actually on GPIOC26 (that's a charging indicator). Remove those warnings as I'm well aware USB isn't implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7387a0470e
commit
b70239e15b
1 changed files with 2 additions and 5 deletions
|
@ -23,21 +23,18 @@
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
#include "ata.h"
|
#include "ata.h"
|
||||||
|
|
||||||
/* USB detect is GPIOC 26 */
|
/* USB detect is currently unknown */
|
||||||
inline bool usb_detect(void)
|
inline bool usb_detect(void)
|
||||||
{
|
{
|
||||||
return (GPIOC & 1<<26);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_init_device(void)
|
void usb_init_device(void)
|
||||||
{
|
{
|
||||||
#warning function not implemented
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_enable(bool on)
|
void usb_enable(bool on)
|
||||||
{
|
{
|
||||||
#warning function not implemented
|
|
||||||
|
|
||||||
if (on)
|
if (on)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue