summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-13 06:32:48 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-13 06:32:48 +0000
commitff0ba04ff6fe285d8fba47c0a6c517f466e7afaa (patch)
tree33ddedaa648ba7f5f54a1ed7cd44c23dc1c30110 /firmware/target
parent3183010dfaf8a4bae3116484258b093334b1d88b (diff)
fix previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index c8557297c2..e5646f3278 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -49,16 +49,16 @@ static const uint8_t out_ep_list[] = {0, 2, 4};
i < (sizeof(list)/sizeof(*list)); \
i++, ep = list[i])
-#define FOR_EACH_IN_EP(include_ep0, i, ep) \
+#define FOR_EACH_IN_EP_EX(include_ep0, i, ep) \
FOR_EACH_EP(in_ep_list, !include_ep0, i, ep)
-#define FOR_EACH_OUT_EP(include_ep0, i, ep) \
+#define FOR_EACH_OUT_EP_EX(include_ep0, i, ep) \
FOR_EACH_EP(out_ep_list, !include_ep0, i, ep)
-#define FOR_EACH_IN_EP(i, ep) FOR_EACH_IN_EP(false, i, ep)
-#define FOR_EACH_IN_EP_AND_EP0(i, ep) FOR_EACH_IN_EP(true, i, ep)
-#define FOR_EACH_OUT_EP(i, ep) FOR_EACH_OUT_EP(false, i, ep)
-#define FOR_EACH_OUT_EP_AND_EP0(i, ep) FOR_EACH_OUT_EP(true, i, ep)
+#define FOR_EACH_IN_EP(i, ep) FOR_EACH_IN_EP_EX(false, i, ep)
+#define FOR_EACH_IN_EP_AND_EP0(i, ep) FOR_EACH_IN_EP_EX(true, i, ep)
+#define FOR_EACH_OUT_EP(i, ep) FOR_EACH_OUT_EP_EX(false, i, ep)
+#define FOR_EACH_OUT_EP_AND_EP0(i, ep) FOR_EACH_OUT_EP_EX(true, i, ep)
/* store per endpoint, per direction, information */
struct usb_endpoint