usb-drv-as3525v2: use correct input endpoint list size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31228 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-12-13 07:11:54 +00:00
parent ff0ba04ff6
commit 1afe28072a

View file

@ -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