1
0
Fork 0
forked from len0rd/rockbox

D2: Fix inverted USB detection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16746 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rob Purchase 2008-03-22 14:51:09 +00:00
parent eae6641bdb
commit 58b5ce2275

View file

@ -23,10 +23,10 @@
#include "kernel.h"
#include "ata.h"
/* USB detect is GPIOC 26 active low */
/* USB detect is GPIOC 26 */
inline bool usb_detect(void)
{
return (GPIOC & 1<<26)?false:true;
return (GPIOC & 1<<26);
}
void usb_init_device(void)