diff options
-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 | ||