fix several warnings

This commit is contained in:
hathach
2025-10-24 13:04:49 +07:00
parent 878c8f26c5
commit f39dcae9f1
39 changed files with 145 additions and 128 deletions

View File

@ -40,7 +40,7 @@
//--------------------------------------------------------------------+
// Device Descriptors
//--------------------------------------------------------------------+
tusb_desc_device_t const desc_device =
static tusb_desc_device_t const desc_device =
{
.bLength = sizeof(tusb_desc_device_t),
.bDescriptorType = TUSB_DESC_DEVICE,
@ -140,7 +140,7 @@ enum {
};
// array of pointer to string descriptors
char const *string_desc_arr[] =
static char const *string_desc_arr[] =
{
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer