chore: remove unused USBD_StringSerial (#4783)
This commit is contained in:
@@ -253,14 +253,6 @@ __ALIGN_BEGIN uint8_t USBD_LangIDDesc[USB_LEN_LANGID_STR_DESC] __ALIGN_END =
|
|||||||
/* Internal string descriptor. */
|
/* Internal string descriptor. */
|
||||||
__ALIGN_BEGIN uint8_t USBD_StrDesc[USBD_MAX_STR_DESC_SIZ] __ALIGN_END;
|
__ALIGN_BEGIN uint8_t USBD_StrDesc[USBD_MAX_STR_DESC_SIZ] __ALIGN_END;
|
||||||
|
|
||||||
#if defined ( __ICCARM__ ) /*!< IAR Compiler */
|
|
||||||
#pragma data_alignment=4
|
|
||||||
#endif
|
|
||||||
__ALIGN_BEGIN uint8_t USBD_StringSerial[USB_SIZ_STRING_SERIAL] __ALIGN_END = {
|
|
||||||
USB_SIZ_STRING_SERIAL,
|
|
||||||
USB_DESC_TYPE_STRING,
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -50,8 +50,6 @@
|
|||||||
#define DEVICE_ID2 (UID_BASE + 0x4)
|
#define DEVICE_ID2 (UID_BASE + 0x4)
|
||||||
#define DEVICE_ID3 (UID_BASE + 0x8)
|
#define DEVICE_ID3 (UID_BASE + 0x8)
|
||||||
|
|
||||||
#define USB_SIZ_STRING_SERIAL 0x1A
|
|
||||||
|
|
||||||
/* USER CODE BEGIN EXPORTED_CONSTANTS */
|
/* USER CODE BEGIN EXPORTED_CONSTANTS */
|
||||||
|
|
||||||
/* USER CODE END EXPORTED_CONSTANTS */
|
/* USER CODE END EXPORTED_CONSTANTS */
|
||||||
|
|||||||
Reference in New Issue
Block a user