1
0
Fork 0
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:
Rob Purchase 2008-04-11 21:23:51 +00:00
parent 7387a0470e
commit b70239e15b

View file

@ -23,21 +23,18 @@
#include "kernel.h"
#include "ata.h"
/* USB detect is GPIOC 26 */
/* USB detect is currently unknown */
inline bool usb_detect(void)
{
return (GPIOC & 1<<26);
return true;
}
void usb_init_device(void)
{
#warning function not implemented
}
void usb_enable(bool on)
{
#warning function not implemented
if (on)
{