First pass at adding back int endpoint to usb_buffer

This commit is contained in:
Ross Owen
2014-03-28 12:22:41 +00:00
parent e7defaad77
commit 4c7771adfa

View File

@@ -217,15 +217,13 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud
{ {
#if defined(SPDIF_RX) || defined(ADAT_RX) #if defined(SPDIF_RX) || defined(ADAT_RX)
/* Interrupt EP, send back interrupt data. Note, request made from decouple */ /* Interrupt EP, send back interrupt data. Note, request made from decouple */
case inuint_byref(c_int, tmp): case XUD_SetData_Select(c_int, ep_int, result):
{ {
int sent_ok = 0; int sent_ok = 0;
XUD_SetData_Inline(ep_int, c_int);
asm("stw %0, dp[g_intFlag]" :: "r" (0) ); asm("stw %0, dp[g_intFlag]" :: "r" (0) );
break; break;
} }
#endif #endif
/* Sample Freq or chan count update from Endpoint 0 core */ /* Sample Freq or chan count update from Endpoint 0 core */
case testct_byref(c_aud_ctl, u_tmp): case testct_byref(c_aud_ctl, u_tmp):
{ {