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 | |
parent | 7387a0470efef2e8603dbc12d1232cb58c4159db (diff) | |
download | rockbox-b70239e15be75af440abcbb4ef2debf955bca596.tar.gz rockbox-b70239e15be75af440abcbb4ef2debf955bca596.zip |
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
-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 @@ | |||
23 | #include "kernel.h" | 23 | #include "kernel.h" |
24 | #include "ata.h" | 24 | #include "ata.h" |
25 | 25 | ||
26 | /* USB detect is GPIOC 26 */ | 26 | /* USB detect is currently unknown */ |
27 | inline bool usb_detect(void) | 27 | inline bool usb_detect(void) |
28 | { | 28 | { |
29 | return (GPIOC & 1<<26); | 29 | return true; |
30 | } | 30 | } |
31 | 31 | ||
32 | void usb_init_device(void) | 32 | void usb_init_device(void) |
33 | { | 33 | { |
34 | #warning function not implemented | ||
35 | } | 34 | } |
36 | 35 | ||
37 | void usb_enable(bool on) | 36 | void usb_enable(bool on) |
38 | { | 37 | { |
39 | #warning function not implemented | ||
40 | |||
41 | if (on) | 38 | if (on) |
42 | { | 39 | { |
43 | 40 | ||