From d6809a4082d21b7c15a50d1a5cae014f1c23feed Mon Sep 17 00:00:00 2001 From: Sam Chesney Date: Tue, 18 Feb 2014 18:00:54 +0000 Subject: [PATCH] Added call to XUD_ResetEndpoint to cause buffer to fall through into while(1) loop... --- module_usb_audio/usb_buffer/usb_buffer.xc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module_usb_audio/usb_buffer/usb_buffer.xc b/module_usb_audio/usb_buffer/usb_buffer.xc index d7ac1261..840e74c7 100644 --- a/module_usb_audio/usb_buffer/usb_buffer.xc +++ b/module_usb_audio/usb_buffer/usb_buffer.xc @@ -181,7 +181,10 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud xc_ptr p_inZeroBuff = array_to_xc_ptr(inZeroBuff); #ifdef IAP - //XUD_ResetEndpoint(ep_iap_from_host, null); + XUD_ResetEndpoint(ep_iap_to_host, null); +#ifdef IAP_INT_EP + XUD_ResetEndpoint(ep_iap_to_host_int, null); +#endif iap_send_reset(c_iap); #endif