sw: usb-epfifo: increase packet size to 64 bytes

This masks some problems we're seeing.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-03-10 22:41:22 +08:00
parent a552d1eb91
commit c180c1b1b8

View File

@ -61,9 +61,10 @@ volatile int irq_count = 0;
__attribute__((aligned(4)))
static uint8_t usb_ep0out_buffer[EP0OUT_BUFFERS][128];
static uint8_t usb_ep0out_buffer_len[EP0OUT_BUFFERS];
static uint8_t usb_ep0out_last_tok[EP0OUT_BUFFERS];
uint8_t usb_ep0out_wr_ptr;
uint8_t usb_ep0out_rd_ptr;
int max_byte_length = 8;
int max_byte_length = 64;
static const uint8_t *current_data;
static int current_length;