forked from PAWPAW-Mirror/lib_xua
Remove inconsequential changes on ios branch
This commit is contained in:
@@ -1135,7 +1135,7 @@ unsigned char cfgDesc_Audio2[] =
|
|||||||
0xFA,
|
0xFA,
|
||||||
0x00,
|
0x00,
|
||||||
0x40,
|
0x40,
|
||||||
0x00,
|
0x00
|
||||||
#else
|
#else
|
||||||
/* DFU 1.1 Run-Time DFU Functional Descriptor */
|
/* DFU 1.1 Run-Time DFU Functional Descriptor */
|
||||||
0x09, /* 0 Size */
|
0x09, /* 0 Size */
|
||||||
|
|||||||
@@ -198,7 +198,6 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Set up channel mapping default */
|
/* Set up channel mapping default */
|
||||||
for (int i = 0; i < NUM_USB_CHAN_OUT + NUM_USB_CHAN_IN; i++)
|
for (int i = 0; i < NUM_USB_CHAN_OUT + NUM_USB_CHAN_IN; i++)
|
||||||
{
|
{
|
||||||
@@ -810,13 +809,11 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
the general case of a functional stall */
|
the general case of a functional stall */
|
||||||
XUD_SetStall_Out(0);
|
XUD_SetStall_Out(0);
|
||||||
XUD_SetStall_In(0);
|
XUD_SetStall_In(0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (retVal < 0)
|
if (retVal < 0)
|
||||||
{
|
{
|
||||||
g_curUsbSpeed = XUD_ResetEndpoint(ep0_in, ep0_out);
|
g_curUsbSpeed = XUD_ResetEndpoint(ep0_in, ep0_out);
|
||||||
//printstrln("Resetting");
|
|
||||||
|
|
||||||
g_config = 0;
|
g_config = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -641,4 +641,5 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_thread_fast_mode_off();
|
set_thread_fast_mode_off();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user