diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-04-11 21:23:51 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-04-11 21:23:51 +0000 |
commit | b70239e15be75af440abcbb4ef2debf955bca596 (patch) | |
tree | 31aa6d45387205da0230e5b3b7e501b3b74e5898 /firmware | |
parent | 7387a0470efef2e8603dbc12d1232cb58c4159db (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/tcc780x/cowond2/usb-cowond2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/usb-cowond2.c b/firmware/target/arm/tcc780x/cowond2/usb-cowond2.c index dbab718a7a..5d27f9c912 100644 --- a/firmware/target/arm/tcc780x/cowond2/usb-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/usb-cowond2.c @@ -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) { |