X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao_usb.h;h=6633dafc7809763ffb23ebae1fa508e506f0b536;hp=9356c8580ce809aaca545cc6713167c0e53cbe11;hb=97cecb517cd7bf75e1219c76a93bfe6964c07052;hpb=70a69f3acdca27b80cdb2069de59bbc6dba83dbd diff --git a/ao_usb.h b/ao_usb.h index 9356c858..6633dafc 100644 --- a/ao_usb.h +++ b/ao_usb.h @@ -68,9 +68,12 @@ /* * Double buffer IN and OUT EPs, so each * gets half of the available space + * + * Ah, but USB bulk packets can only come in 8, 16, 32 and 64 + * byte sizes, so we'll use 64 for everything */ -#define AO_USB_IN_SIZE 256 -#define AO_USB_OUT_SIZE 128 +#define AO_USB_IN_SIZE 64 +#define AO_USB_OUT_SIZE 64 #define AO_USB_EP0_IDLE 0 #define AO_USB_EP0_DATA_IN 1