summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c2
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