summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-13 08:16:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-13 08:16:46 +0000
commit8afdad69c71a8b1d3cbc4d884245aa9d4e3b6f6f (patch)
tree7b59a25d87789ab2a035b17d66e50de0f818f71a /firmware
parente4bee2b1091ead920b7ef0e5d21d3c929e219dca (diff)
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index cfa9d390bf..9be6284798 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -806,7 +806,7 @@ int usb_drv_send(int ep, void *ptr, int len)
usb_drv_transfer(ep, ptr, len, true, true);
struct usb_endpoint *endpoint = &endpoints[ep][1];
semaphore_wait(&endpoint->complete, TIMEOUT_BLOCK);
- return endpoints->status;
+ return endpoint->status;
}
int usb_drv_send_nonblocking(int ep, void *ptr, int len)