diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-12-21 17:24:00 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-12-21 17:24:00 +0000 |
commit | 303aefc406a99cb47f41ed39283a3881f4c7f401 (patch) | |
tree | 62787d2051f1cc1c639c08e2e4c049382dbc4c93 /firmware/target | |
parent | d5c082598d2b5b552578e6c638d88452581e6f9c (diff) |
Make usb_detect() return USB_UNPOWERED instead of USB_EXTRACTED. Without that, not all needed disconnect handling is done in usb.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/usb-as3525.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c index 123ff044b5..5664eb2096 100644 --- a/firmware/target/arm/as3525/usb-as3525.c +++ b/firmware/target/arm/as3525/usb-as3525.c @@ -74,7 +74,7 @@ int usb_detect(void) else if(connected) return USB_POWERED; else - return USB_EXTRACTED; + return USB_UNPOWERED; #else return connected?USB_INSERTED:USB_EXTRACTED; #endif |