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/dfu_runtime/src | |
| parent | ac37176cec68a26a308c67b238cbf8901b3f1f29 (diff) | |
| parent | 42f000df8e52cfe0a46867a5e1fa5817cd58bc8a (diff) | |
Merge pull request #3318 from hathach/static-analysis
Static analysis
Diffstat (limited to 'examples/device/dfu_runtime/src')
| -rw-r--r-- | examples/device/dfu_runtime/src/usb_descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/dfu_runtime/src/usb_descriptors.c b/examples/device/dfu_runtime/src/usb_descriptors.c index 7ac53d255..c5cc9f92f 100644 --- a/examples/device/dfu_runtime/src/usb_descriptors.c +++ b/examples/device/dfu_runtime/src/usb_descriptors.c @@ -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, @@ -122,7 +122,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 |
