Remove commented out code.
This commit is contained in:
@@ -2010,24 +2010,5 @@ unsigned char cfgDesc_Audio1[] =
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define APPEND_VENDOR_STR(x) VENDOR_STR#x
|
|
||||||
#if 0
|
|
||||||
static unsigned char strDescs_Audio1[][40] =
|
|
||||||
{
|
|
||||||
"Langids", /* String 0 (LangIDs) place holder */
|
|
||||||
APPEND_VENDOR_STR(), // 1 iManufacturer
|
|
||||||
APPEND_VENDOR_STR(USB Audio 1.0), // 2 iProduct and iInterface for control interface
|
|
||||||
"",//SERIAL_STR, // 3 iSerialNumber
|
|
||||||
|
|
||||||
APPEND_VENDOR_STR(USB 1.0 Audio Out), // 4 iInterface for Streaming interaces
|
|
||||||
APPEND_VENDOR_STR(USB 1.0 Audio In), // 5
|
|
||||||
|
|
||||||
APPEND_VENDOR_STR(Audio 1.0 Output), // 6 "USB Input Terminal" (User sees as output from host)
|
|
||||||
APPEND_VENDOR_STR(Audio 1.0 Input), // 7 "USB Output Terminal" (User sees as input to host)
|
|
||||||
|
|
||||||
APPEND_VENDOR_STR(DFU) // 8 iInterface for DFU interface
|
|
||||||
};
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -193,11 +193,6 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Copy langIDs string desc into string[0] */
|
|
||||||
/* TODO: Macro? */
|
|
||||||
#if defined(AUDIO_CLASS_FALLBACK) || (AUDIO_CLASS == 1)
|
|
||||||
//safememcpy(strDescs_Audio1[0], strDesc_langIDs, sizeof(strDesc_langIDs));
|
|
||||||
#endif
|
|
||||||
safememcpy(strDescs[0], strDesc_langIDs, sizeof(strDesc_langIDs));
|
safememcpy(strDescs[0], strDesc_langIDs, sizeof(strDesc_langIDs));
|
||||||
|
|
||||||
/* Build up channel string table - By default all channels are marked as analogue
|
/* Build up channel string table - By default all channels are marked as analogue
|
||||||
|
|||||||
Reference in New Issue
Block a user