Remove inconsequential changes on ios branch
This commit is contained in:
@@ -1129,13 +1129,13 @@ unsigned char cfgDesc_Audio2[] =
|
||||
|
||||
#if 0
|
||||
/* DFU 1.0 Run-Time DFU Functional Descriptor */
|
||||
0x07,
|
||||
0x07,
|
||||
0x21,
|
||||
0x07,
|
||||
0xFA,
|
||||
0x00,
|
||||
0x40,
|
||||
0x00,
|
||||
0x00
|
||||
#else
|
||||
/* DFU 1.1 Run-Time DFU Functional Descriptor */
|
||||
0x09, /* 0 Size */
|
||||
@@ -1618,7 +1618,7 @@ unsigned char cfgDesc_Audio1[] =
|
||||
0xFE, /* 5 bInterfaceClass : DFU. (field size 1 bytes) */
|
||||
0x01, /* 6 bInterfaceSubclass : (field size 1 bytes) */
|
||||
0x01, /* 7 bInterfaceProtocol : Unused. (field size 1 bytes) */
|
||||
8, /* 8 iInterface : Unused. (field size 1 bytes) */
|
||||
8, /* 8 iInterface : Unused. (field size 1 bytes) */
|
||||
|
||||
#if 0
|
||||
/* DFU 1.0 Run-Time DFU Functional Descriptor */
|
||||
|
||||
@@ -198,7 +198,6 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Set up channel mapping default */
|
||||
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 */
|
||||
XUD_SetStall_Out(0);
|
||||
XUD_SetStall_In(0);
|
||||
|
||||
}
|
||||
|
||||
if (retVal < 0)
|
||||
{
|
||||
g_curUsbSpeed = XUD_ResetEndpoint(ep0_in, ep0_out);
|
||||
//printstrln("Resetting");
|
||||
|
||||
g_config = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user