From e75e5b131fd32a26f32cba1ab4c750dfdadd1eb3 Mon Sep 17 00:00:00 2001 From: Sam Chesney Date: Mon, 24 Feb 2014 16:47:05 +0000 Subject: [PATCH] iAP tx buffer no longer one word longer than max packet size, as length is no longer added to the buffer --- module_usb_audio/usb_buffer/usb_buffer.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_usb_audio/usb_buffer/usb_buffer.xc b/module_usb_audio/usb_buffer/usb_buffer.xc index e43e4055..8c6451ef 100644 --- a/module_usb_audio/usb_buffer/usb_buffer.xc +++ b/module_usb_audio/usb_buffer/usb_buffer.xc @@ -163,7 +163,7 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud #ifdef IAP xc_ptr iap_from_host_rdptr; unsigned char iap_from_host_buffer[MAX_IAP_PACKET_SIZE+4]; - unsigned char iap_to_host_buffer[MAX_IAP_PACKET_SIZE+4]; + unsigned char iap_to_host_buffer[MAX_IAP_PACKET_SIZE]; int is_ack_iap; int is_reset;