diff --git a/module_usb_audio/endpoint0/descriptors.h b/module_usb_audio/endpoint0/descriptors.h index 8f76168a..8d494be6 100644 --- a/module_usb_audio/endpoint0/descriptors.h +++ b/module_usb_audio/endpoint0/descriptors.h @@ -2011,23 +2011,4 @@ unsigned char cfgDesc_Audio1[] = }; #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 diff --git a/module_usb_audio/endpoint0/endpoint0.xc b/module_usb_audio/endpoint0/endpoint0.xc index 4e5863bd..ef389052 100755 --- a/module_usb_audio/endpoint0/endpoint0.xc +++ b/module_usb_audio/endpoint0/endpoint0.xc @@ -193,11 +193,6 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, } #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)); /* Build up channel string table - By default all channels are marked as analogue