From b70239e15be75af440abcbb4ef2debf955bca596 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Fri, 11 Apr 2008 21:23:51 +0000 Subject: 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 --- firmware/target/arm/tcc780x/cowond2/usb-cowond2.c | 7 ++----- 1 file 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) { -- cgit