summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/tcc780x/cowond2/usb-cowond2.c7
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)
{