diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-13 07:11:54 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-13 07:11:54 +0000 |
commit | 1afe28072a73f480e9595b2bf04aa8c16ca6aebe (patch) | |
tree | 5a547154002c1c13c621d987ca55b09c8e36621f /firmware/target/arm | |
parent | ff0ba04ff6fe285d8fba47c0a6c517f466e7afaa (diff) |
usb-drv-as3525v2: use correct input endpoint list size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31228 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525v2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index e5646f3278..e9d2d36fa4 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c @@ -36,10 +36,7 @@ #include "usb-drv-as3525v2.h" #include "usb_core.h" -/* Number of IN/OUT endpoints */ -#define NUM_IN_EP 3 - -static const uint8_t in_ep_list[NUM_IN_EP + 1] = {0, 3, 5}; +static const uint8_t in_ep_list[] = {0, 3, 5}; static const uint8_t out_ep_list[] = {0, 2, 4}; /* iterate through each in/out ep except EP0 |