diff options
| author | Ha Thach <[email protected]> | 2025-10-26 01:44:04 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-26 01:44:04 +0700 |
| commit | 96d510978eafb1b43344acf0ba52260c3bdb9f81 (patch) | |
| tree | 88e1c0a8b33dd136f96486a88aaebb98cdc84c9f /examples/device/hid_multiple_interface | |
| parent | ac37176cec68a26a308c67b238cbf8901b3f1f29 (diff) | |
| parent | 42f000df8e52cfe0a46867a5e1fa5817cd58bc8a (diff) | |
Merge pull request #3318 from hathach/static-analysis
Static analysis
Diffstat (limited to 'examples/device/hid_multiple_interface')
| -rw-r--r-- | examples/device/hid_multiple_interface/src/usb_descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_multiple_interface/src/usb_descriptors.c b/examples/device/hid_multiple_interface/src/usb_descriptors.c index 86f567e8e..145836300 100644 --- a/examples/device/hid_multiple_interface/src/usb_descriptors.c +++ b/examples/device/hid_multiple_interface/src/usb_descriptors.c @@ -39,7 +39,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, @@ -146,7 +146,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 |
